remote-host

"Class does not support automation" error when i call Request.ServerVariables("remote_host")

I'm in the process of writing a basic cookie for an ecommerce site which is going to store the user's IP among other details. We'll then record the pages they view in the database and pull out a list of recently viewed pages. However i'm having an issue with the following code. dim caller caller = Response.Cookies("caller") if caller ...

check status of one port on remote host

I need a command line that can check the port status on a remote host. I tried ping xxx.xxx.xxx.xxx:161 but it doesn't recognize the "host". I thought it was a "good" answer until I did the same command against a host I know has that port open. This is for a batch file on Windows that will check the status of the remote port then run...

Asp.net ques regarding getting IP address of a user

trying to fetch IP address using this:- protected void Page_Load(object sender, EventArgs e) { string ClientIP; ClientIP = HttpContext.Current.Request.UserHostAddress; Label1.Text = ClientIP; } This code gives output as 127.0.0.1 and the code below displays nothing! string C...