if your site is distributed on many computers, you must use a cookie in order to skip the session skip
write cookie
HttpCookie testCookie = new HttpCookie("capath"); testCookie.Value = HttpUtility.UrlEncode(capath); Response.Cookies.Add(testCookie);
read cookie
if (Request.Cookies["capath"] != null) { HttpCookie getCookie = Request.Cookies.Get("capath"); }
source share