Hmmm.... with anonymous access disabled.... it works. I get the domain 
name and the network user name... if I access the web site from a 
different computer (other than my development machine). 

BTW.... I use a very similar code... 
<table border=1>
<tr>
<td colspan=2><font face="arial" size=3>Server Variables</font></td>
</tr>

<%

For each key in Request.ServerVariables
        Response.write "<tr valign='top'><td><a name='" & Key & 
"'></a><font face='arial' size='2' color='black'>" & Key & "</td>" 
 
        If Request.ServerVariables(key) = "" Then 
                response.write "<td>&nbsp;</td></tr>"
        Else
                response.write "<td><font face='arial' size=2 
color='navy'>" & CStr(request.servervariables(key)) & "</td></tr>"
        End If
 
        Next
%>

</table>

Soren







Ray at work <[EMAIL PROTECTED]>
09/02/2004 09:23 AM
Please respond to active-server-pages
 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        RE: [ASP] Windows Logon Credentials



You must still have anonymous access enabled then.  (Sorry, I haven't been
following this thread, so I don't know if this has been mentioned or 
not...)

What do you get in a page that is in your anonymous-disabled directory 
that
has this code in it:

<%
For each wrench in Request.ServerVariables
                 Response.Write wrench & " = " & 
Request.ServerVariables(wrench) &
"<br>"
Next
%>

Ray at work 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 02, 2004 12:15 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [ASP] Windows Logon Credentials
> 
> I still don't get a value for AUTH_USER if I use:
> http://LocalHost/TheWebSite
> or
> http://TheMachineName/TheWebSite
> 
> Soren
> 
> 
> 
> 
> 





--------------------------------------------------------------------- 
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links



 






[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to