Example #1
0
        static public void terminateSession()
        {
            HttpSessionStateBase session = new HttpSessionStateWrapper(HttpContext.Current.Session);

            session.Clear();
            session.Abandon();
        }
Example #2
0
        public static string ReInit()
        {
            HttpSessionStateBase session = new HttpSessionStateWrapper(System.Web.HttpContext.Current.Session);

            session.Clear();
            session.Abandon();
            return(session.SessionID);
        }