static public void terminateSession() { HttpSessionStateBase session = new HttpSessionStateWrapper(HttpContext.Current.Session); session.Clear(); session.Abandon(); }
public static string ReInit() { HttpSessionStateBase session = new HttpSessionStateWrapper(System.Web.HttpContext.Current.Session); session.Clear(); session.Abandon(); return(session.SessionID); }