Re: Improving logs and statistics

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The IIS logs can show the IP Addresses (and I think that is turned on by
default). Go to the IIS Manager, right-click on your web site, and select
properties. Then click on the "Properties" button and select the "Advanced"
tab to see what IIS is recording.

--
Gary A. Bushey
SPS MVP
bushey@xxxxxxxxxxxxxx


<pksa@xxxxxxxxx> wrote in message
news:1146081971.801810.217250@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have very strick requirement form my customer to trac IPs of the
users remote stations. Username is not enought.
I found that the ip can be read using contex e.g.
userIP = context.Request.ServerVariables.GetValues("REMOTE_ADDR")

But do you have any idea how to include this in the standard log files
so the operations logged there could point out IPs as well?

Or at least how to print out on the screen IPs of users logged
currently in?

.....I'm coming from php world, phpBB and using IP is a standard
thing..

Can you help me
Regards
Paui



.


Quantcast