![]() Topic awaiting preservation: getting username with ASP (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: KY |
![]() Is it possible to get the username of the person logged on the computer with ASP? I know I can get the IP and the broswer info. I really need to get the username |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() From a webpage? nuh uh |
Bipolar (III) Inmate From: London, UK |
![]() The only way you can do that is to force user authentication on your site. If it's ASP, I assume you're using some version of IIS, which will allow you to set authentication on part or all of the site. IIRC it's usually an NT/2K/XP user account that needs to log on, and you can use normal file permissions to control what they can see, if you want to go that far. |
Bipolar (III) Inmate From: KY |
![]() Figured it wasn't. code: <script Language="VBScript">
|
Bipolar (III) Inmate From: London, UK |
![]() What you just tried to do was get your browser to run asp code. That's not going to work, as you found out. If this is on a public web server then you'll have to come up with some other way of authenticating users, be it through sessions and logins, password protected directories or whatever. |