Results 1 to 6 of 6

Thread: IIS - ASP : Retrieving domain, IIS Session TimeOut

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212

    Arrow 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

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    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 ! =)
    Regards,

    El-Nino

  4. #4
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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..

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    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 !
    Regards,

    El-Nino

  6. #6
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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
  •  



Click Here to Expand Forum to Full Width