|
-
Jul 3rd, 2001, 09:08 AM
#1
Thread Starter
Addicted Member
IIS - ASP : Retrieving domain, IIS Session TimeOut
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 !
Last edited by eL_NiNo; Jul 4th, 2001 at 10:06 AM.
Regards,
El-Nino
-
Jul 3rd, 2001, 10:57 AM
#2
Black Cat
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.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jul 3rd, 2001, 11:02 AM
#3
Thread Starter
Addicted Member
Ok !
1) That's odd; mine returns "servername\logon" with both
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 ! =)
-
Jul 3rd, 2001, 02:20 PM
#4
Frenzied Member
Not if you provide them with a way to log off and abandon the session.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Jul 3rd, 2001, 02:24 PM
#5
Thread Starter
Addicted Member
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 !
-
Jul 5th, 2001, 06:52 AM
#6
Black Cat
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.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|