How does one capture the IP address of the user ....and...is there
anything 'unique' you can do with this info besides knowing the ip
number of his domain/browser?
Thanks
Jason
Request.Servervariables("REMOTE_ADDR") - will give you the IP
Request.Servervariables("USER_AGENT") - will give you browser (User Agent)
information.
Request.Servervariables("HTTP_REFERER") - will give you the page/site the
person came from
Request.Servervariables("URL") - will give you the name of the page
There are all kinds of things you can do with this information, like roll
your own stats, if you don't have access to raw server logs.
You can also do rudimentary browser sniffing. For example, IE does not
support position:fixed so you can serve IE a style sheet that uses
position:absolute instead. But, please do not use browser sniffing to do
something silly like "You have to use IE to view this site".