Gazing into my crystal ball I observed "jason" <ja***@catamara nco.com>
writing in news:#C******** *****@TK2MSFTNG P11.phx.gbl:
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.Serverv ariables("REMOT E_ADDR") - will give you the IP
Request.Serverv ariables("USER_ AGENT") - will give you browser (User Agent)
information.
Request.Serverv ariables("HTTP_ REFERER") - will give you the page/site the
person came from
Request.Serverv ariables("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:absolu te instead. But, please do not use browser sniffing to do
something silly like "You have to use IE to view this site".
--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com