Try putting the following line in Web.config under the System.Web: "sessionState mode="InProc" timeout="30" cookieless="false" /sessionState" Lemme know if it worked !
P
pd69
@pd69
Posts
-
Session being lost in a simple test webpage -
Visitor IP addressThe below given code gives you the IP address of the User Accessing the site: HttpContext.Current.Request.UserHostAddress; OR HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]; To get the IP address of the machine and not the proxy use the following code: HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; I hope this was useful !!! :cool: