Re: why do .asp files prompt for login but .htm files do not?
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 11/15/05
- Next message: Bud: "Re: Authenticate against AD"
- Previous message: Francisco Lopez: "RE: SSL security question"
- In reply to: mushu: "why do .asp files prompt for login but .htm files do not?"
- Next in thread: karl levinson, mvp: "Re: why do .asp files prompt for login but .htm files do not?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 14 Nov 2005 17:57:07 -0800
Well, for .htm page, IIS just opens that file and sends it back -- so if the
user credentials are all good, this should just succeed.
For .asp page, it could run code to do other things -- like talk to a DB to
authenticate users, or read files from a remote UNC share -- and some of
those other things may not be possible given the authenticated user
credentials -- so you could get 401 access denied and browser ends up
prompting for login.
In other words, there is a good reason why people ask this question and get
no response -- because as-stated, it is really ambigous and not possible to
answer without more details.
Unfortunately, people are usually pretty bad about providing details and
since this is a community supported on everyone's own free time, no one is
obligated to solve your problem. So, it is to your best advantage to do your
homework and make the problem so attractive that people can't help but help
you out...
-- //David IIS http://blogs.msdn.com/David.Wang This posting is provided "AS IS" with no warranties, and confers no rights. // "mushu" <tim.m.valdez@gmail.com> wrote in message news:1132004889.746492.46310@z14g2000cwz.googlegroups.com... IIS 5.0 in a domain. IIS has Basic & Integrated selected, NOT anonymous. All users have I.E. browser. All users are members of the same domain. IIS Basic Auth MMC section has the correct domain entered. There is no global.asa file in the directory. All links in the .asp page have been validated and checked to ensure that they exist and have the correct ACL's. I'm wondering why the .asp pages are prompting for login but the .htm pages are not. I searched but was unable to find any solution to this question, however I see that others have asked it before...just no responses. TIA!
- Next message: Bud: "Re: Authenticate against AD"
- Previous message: Francisco Lopez: "RE: SSL security question"
- In reply to: mushu: "why do .asp files prompt for login but .htm files do not?"
- Next in thread: karl levinson, mvp: "Re: why do .asp files prompt for login but .htm files do not?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|