public static void ClearAll()
 {
     if (_internalStorage != null)
     {
         _internalStorage.RemoveAll();
     }
 }
Beispiel #2
0
 public static void StudentOnlyPage(HttpSessionState session, HttpRequest request, HttpResponse response,
                                    HttpServerUtility server)
 {
     if (!(session["user"] is Student))
     {
         session.RemoveAll();
         response.Redirect("/Login.aspx");
     }
 }
 public void RemoveAll()
 {
     _httpSessionState.RemoveAll();
 }
Beispiel #4
0
 internal void RemoveAll()
 {
     _session.RemoveAll();
 }
 /// <summary>
 /// Ends the current session.
 /// </summary>
 /// <param name="session">The session to clear.</param>
 public static void EndSession(HttpSessionState session)
 {
     session.RemoveAll();
 }
Beispiel #6
0
 public void RemoveAll()
 {
     _session.RemoveAll();
 }
Beispiel #7
0
 public void RemoveAll()
 {
     sessionState.RemoveAll();
 }
 public virtual void RemoveAll()
 {
     Session.RemoveAll();
 }
Beispiel #9
0
 public static void ClearSessions()
 {
     HttpSessionState.RemoveAll();
     HttpSessionState.Abandon();
     HttpSessionState.Clear();
 }
 public override void RemoveAll()
 {
     _session.RemoveAll();
 }
Beispiel #11
0
 public static void CleanUp(HttpSessionState session)
 {
     session.RemoveAll();
 }