/// <summary> /// Removes the session from the context. /// </summary> /// <param name="session">The session to remove</param> public void RemoveSession(AbstractSession session) { HttpContext.Current.Session.Remove(session.Name); }
/// <summary> /// Adds the session to the Context. /// </summary> /// <param name="session">The session to add</param> public void AddSession(AbstractSession session) { HttpContext.Current.Session.Add(session.Name, session); }