Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Name

Status
Not open for further replies.

marcelo47

Technical User
Feb 20, 2002
1
BR
I need get user name which is running my ASP page. My IIS is configured to anonymous login, an I can´t change it. By the way, I can´t use server variables. How I can do this?
 
Can you use Session variables? That is really what you need for that anyway. I believe the client has to have cookies enabled for this to work, though, because IIS uses a "session cookie" to know it is the same session. You could also use hidden fields in a form on the page. Not very secure because the username is clearly visible in the source of the page (unless you are using SSL) as it travels the internet (and of course the user could see it, but presumably they know their own username). This would force you to have them submit the form each time to go to the next page (as opposed to just clicking a link).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top