コード例 #1
0
 public static void ClearAll()
 {
     if (_internalStorage != null)
     {
         _internalStorage.RemoveAll();
     }
 }
コード例 #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");
     }
 }
コード例 #3
0
 public void RemoveAll()
 {
     _httpSessionState.RemoveAll();
 }
コード例 #4
0
 internal void RemoveAll()
 {
     _session.RemoveAll();
 }
コード例 #5
0
 /// <summary>
 /// Ends the current session.
 /// </summary>
 /// <param name="session">The session to clear.</param>
 public static void EndSession(HttpSessionState session)
 {
     session.RemoveAll();
 }
コード例 #6
0
 public void RemoveAll()
 {
     _session.RemoveAll();
 }
コード例 #7
0
 public void RemoveAll()
 {
     sessionState.RemoveAll();
 }
コード例 #8
0
 public virtual void RemoveAll()
 {
     Session.RemoveAll();
 }
コード例 #9
0
 public static void ClearSessions()
 {
     HttpSessionState.RemoveAll();
     HttpSessionState.Abandon();
     HttpSessionState.Clear();
 }
コード例 #10
0
 public override void RemoveAll()
 {
     _session.RemoveAll();
 }
コード例 #11
0
 public static void CleanUp(HttpSessionState session)
 {
     session.RemoveAll();
 }