Request.UserHostAddress and IIS Logfiles

C

cbanks

I have read the messages about (not) always obtaining the 'actual' ip
address of the sender using Request.UserHostAddress. What I don't
understand is why does the W3SVC1 show one ip address and
Request.UserHostAddress another?

I have a table for active users which inserts the userid, ip address,
valid login and date/time. I was hoping to determine which user was in
what part of my application at a given time. By using
Request.UserHostAddress I thought I could create a relationship with
the logfile to identify the user.

If some one could explain to me why there is a difference I would
really appreciate if.

Thanks
Charles
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top