Server variable Question

Results 1 to 2 of 2

Thread: Server variable Question

  1. #1
    Join Date
    Dec 1969

    Default Server variable Question

    I&#039;m using the server variable to get the logon user name and had dificulties in getting this info (it kept coming back with nothing in it).<BR><BR>I over came this by using the following:<BR><BR>If Request.ServerVariables("LOGON_USER") = "" Then<BR> Response.Status = "401 Access Denied"<BR> Response.End<BR>End If<BR><BR><BR>My question is, why do I have to use this? Can anybody explain what is going on here please.<BR><BR>Thanks<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Server variable Question

    are you allowing anonymous access? then it&#039;ll be blank. simple. you have to be running behing integrated auth or basic auth (IIRC) to get this populated.<BR><BR><BR>j<BR>

Posting Permissions

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