Exemplo n.º 1
0
 /// <summary>
 /// Deletes the given session object.
 /// </summary>
 /// <param name="server">The server.</param>
 /// <param name="session">The session info.</param>
 /// <returns></returns>
 public static void DeleteSession(this WebServer server, SessionInfo session)
 {
     server.SessionModule?.DeleteSession(session);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deletes the given session object.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="session">The session info.</param>
 public static void DeleteSession(this IHttpContext context, SessionInfo session)
 {
     context.WebServer.SessionModule?.DeleteSession(session);
 }