General discussion

Locked

IP config and login name of client

By MuthuVenkatsubramanian ·
Hi G'Day,
I want to get the IP addreess and login name of the client(if in network)when any one tries to aceess a specific part of my website.Can anybody help to do it in ASP and which server variable do I have to use ?
Bye!

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

IP config and login name of client

by grybyx In reply to IP config and login name ...

The server variables that you are looking for are LOGON_USER and REMOTE_ADDR, which contain the username and IP address of the user's computer, respectively.

Happy Programming!

Collapse -

IP config and login name of client

by grybyx In reply to IP config and login name ...

By the way, if the user is accessing the page anonymously, LOGON_USER is empty.

Collapse -

IP config and login name of client

Poster rated this answer

Collapse -

IP config and login name of client

Poster rated this answer

Collapse -

IP config and login name of client

This question was closed by the author

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums