Feb 07, 2011, 7:38 PM
Get Users Information
Is the any function inside Ext.Net to retrieve User´s IP Adress?
string IP;
IP = Request.ServerVariables[ "HTTP_X_FORWARDED_FOR" ];
if ( IP == null )
{
IP = Request.ServerVariables[ "REMOTE_ADDR" ];
}
lblIP.Text = "IP " + IP;