Getting NT Logon from ASP

Results 1 to 3 of 3

Thread: Getting NT Logon from ASP

  1. #1
    Jamie Blackman Guest

    Default Getting NT Logon from ASP

    I&#039m trying to get the NT Login from ASP for an Intranet Application.<BR><BR>At the moment, I&#039m using an ActiveX Control of my own making.<BR><BR>I have seen asp code using the Server.Variable("logon_user") - but this returns a blank on my system.<BR><BR>Anyone got any ideas?<BR><BR>jamie.blackman@bshg.com

  2. #2
    Join Date
    Dec 1969
    Posts
    552

    Default RE: Getting NT Logon from ASP

    The sever variable returns a blank when an anonymous request is made. And by default anonymous access is tried before a logon request from the server. So you need to disable anonymous access to the page in IIS before you can use this funtion.

  3. #3
    Jamie Blackman Guest

    Default RE: Getting NT Logon from ASP

    Success!!<BR><BR>Thanks for that.<BR><BR>Jamie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •