public static string TheSessionId() { HttpSessionState ss = HttpContext.Current.Session; HttpContext.Current.Session["test"] = "test"; HttpContext.Current.Response.Write(ss.SessionID); return "ok"; }
foreach(string i in Session.Contents) //returns active session variables. { //Session[i]; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)