Yes.  Like I said, anonymous is the first access method the browser tries
and if it succeeds then it carries on.  For you to get the user info you
need to disable anon access so that it fails and the browser then
authenticates.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 02 September 2004 5:50
To: [EMAIL PROTECTED]
Subject: RE: [ASP] Windows Logon Credentials


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]




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



 


The contents of this email and any attachments are sent for the personal attention
of the addressee(s) only and may be confidential.  If you are not the intended
addressee, any use, disclosure or copying of this email and any attachments is
unauthorised - please notify the sender by return and delete the message.  Any
representations or commitments expressed in this email are subject to contract. 
 
ntl Group Limited



------------------------ 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