Request.ServerVariables("LOGON_USER") acting differently on 2 serv

Discussion in 'ASP .Net' started by =?Utf-8?B?THluZXJz?=, Dec 5, 2005.

  1. We have an intranet where a majority of users are in our active directory,
    but not all. We have recently upgraded to using asp.net on our servers and
    during the rollout ran into a problem. The users in the non-active directory
    list could not access the website because of integrated security. Well after
    figuring out how to solve our problems, we have one problem left (which is
    actually one of our solutions). On the default.asp page we have created a
    redirect depending on what is returned from
    Request.ServerVariables("LOGON_USER"). If the user is an active directory
    user, they go to the default.aspx page, if they are not an active directory
    user, they go to the default_original.asp page. This works on our test
    server, but not on our production server.

    On the test server, we get the user domain and name, on the production
    server we get an empty string. The servers are identical (Windows 2003), and
    the IIS is 6.0 and the website appears to be setup the same (security).

    Anyone have any suggestions on how to fix this, or where to look?

    Thank you,
    Lyners
     
    =?Utf-8?B?THluZXJz?=, Dec 5, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. T.
    Replies:
    7
    Views:
    15,909
    RiaanBod
    Apr 28, 2011
  2. Amitava Bardhan
    Replies:
    1
    Views:
    2,935
    Marina
    May 17, 2005
  3. Replies:
    1
    Views:
    1,623
    Göran Andersson
    Nov 29, 2008
  4. Charles Evans
    Replies:
    0
    Views:
    415
    Charles Evans
    Sep 10, 2003
  5. Dave Karmens
    Replies:
    5
    Views:
    1,152
    Roland Hall
    Apr 22, 2004
Loading...

Share This Page