Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

auth_user is lying ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
z f - 30 Oct 2005 14:36 GMT
trying to achieve windows authentication on the fly (without the file
configured to deny anonymous access in IIS)
i returned a 401 status if the
Request.ServerVariables("auth_user") = ""

this is OK, the 401 status Code returned with additional headers and the
browser performed windows authentication
and the next time i had auth_user correctly.
but after closing the browser and re-opening it and requesting the same page
again, i get the auth_user filled with the old value without the
authentication being done again!
how can this be?
( i use fiddler to see http comunication between client and server)
TIA.
Bent Kristiansen - 30 Oct 2005 16:30 GMT
What is you environment like when you har getting this problems. Do you have
a server you are deploying to?

If you are on your local machine IE will send the auth_user variable to the
IIS because og the web context is "safe". If you are accessing you
application form another computer you might have to add the name of your
server in the Intranet Zone settings on you IE to allow it to send auth_user
to the server.

I hope I understood your problem correct?

Signature

Bent Kristiansen
bent.kristiansen(AT)bekk.no

> trying to achieve windows authentication on the fly (without the file
> configured to deny anonymous access in IIS)
[quoted text clipped - 10 lines]
> ( i use fiddler to see http comunication between client and server)
> TIA.
z f - 30 Oct 2005 16:57 GMT
it's because fiddler re-use sockets if i restart fiddler it's OK.

> What is you environment like when you har getting this problems. Do you
> have
[quoted text clipped - 25 lines]
>> ( i use fiddler to see http comunication between client and server)
>> TIA.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.