Static IP

  • Thread starter Thread starter Charles A. Lackman
  • Start date Start date
C

Charles A. Lackman

Hello,
How do I retrive the Visitors IP Address from my web service. I have been
searching within the System.Environment properties and do not see anything
that would lead me to believe it will get the static IP. Also, wondering
why I cannot recieve the SessionID using the following code:

Dim TheID as Long = Session.SessionID

Error Message: Object not set to an instance of an object.

Thanks,

Chuck
 
1) Page.Request.ServerVariables["REMOTE_ADDR"];

2) you must turn session on, your Session variable is null, and SessionId is
a string


-- bruce (sqlwork.com)
 
Back
Top