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 ...
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...
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...