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).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.