View Single Post
 
Old April 20th, 2004, 12:54 PM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The "Uri b.s." that you refer to has nothing to do with your problem. According to the .net documentation UrlReferrer "Gets information about the URL of the client's previous request that linked to the current URL." This is not what you want. It's coming up null most likely because you are typing in the test url directly and thus no referrer is being sent to the server.

What you DO want to look at it is UserHostAddress which "Gets the IP host address of the remote client".

Peter
-------------------------
Work smarter, not harder