Click to See Complete Forum and Search --> : IIS - ASP : Retrieving domain, IIS Session TimeOut
eL_NiNo
Jul 3rd, 2001, 09:08 AM
I'm now using IIS to authenticate our NT users, but a few questions now rise :
1) I can retrieve the "computername\logon" with the request.servervariables("LOGON_USER") but is there a way to tell its domain ?
2) I want to tell IIS that the user has logged out, hence a new authentication is required (see logout), how can I achieve this ?
This problem occurs when the user logged out of the intranet web site, IIS still consider him as logged on and don't ask a new authentication/session...
Thanks in advance !
JoshT
Jul 3rd, 2001, 10:57 AM
1) I get "domainname\username" with "AUTH_USER".
2) Windows Authentication should be handled by Internet Explorer, they won't log out until IE is closed, unless they picked "Save Password" or whatever on the Dialog Box. On my network, this is all transparent to the users -- they never need to log on or off.
eL_NiNo
Jul 3rd, 2001, 11:02 AM
Ok !
1) That's odd; mine returns "servername\logon" with both :confused:
2) That's bad; users will have to close all Ie session to log on as another user ? Well, I Guess it's the only way... :(
Thanks for the quick reply ! =)
monte96
Jul 3rd, 2001, 02:20 PM
Not if you provide them with a way to log off and abandon the session.
eL_NiNo
Jul 3rd, 2001, 02:24 PM
Yes; I do allow user to "logoff" via a simple menu.
What this does is simply a session.abandon and clearing all session variables.
But this doesn't seem to do the trick with IIS authentication : you have to close all browsers to be asked for login again ?
That's rather odd !
Thanks for the answer monte !
JoshT
Jul 5th, 2001, 06:52 AM
The way I use Windows Authentication is that IE passes whatever log-in the user used to log on to their NT workstation with. There's never a log on or off thru web pages. Of course, I have it easy because everyone's on the same domain.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.