to get some information about the web site user

S

Soha

i building a website in a LAN which will not be published on the
internet. but the users in the LAN are accessing the web site through
an ISA firewall server. i would like to ask if there is a way to get
the ip address of the users to monitor their access to the web site. i
tried to use the servervariable REMOTE_ADDR but of course it returns
the firewall's ip address.
can any one tell how can i do get the ip address of the users to save
it in a database.
thank you
 
A

Aaron Bertrand [SQL Server MVP]

If you're only inside the LAN, why not require the user to authenticate,
then you can get LOGON_USER instead, which is likely more valuable than IP
address (and in general, can be used to map back to IP address).

ASP/IIS can only see what the last hop shows it; there is no way to get back
to the original user's machine if the one exposed is the firewall.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top