mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
updating. * SessionSqlServerHandler.cs: * SessionInProcHandler.cs: Accept SessionStateModule when updating. Use new SessionId.Create method for creating session ids. * SessionStateModule.cs: Add a random number generator that will be used for creating session ids. Pass this to handlers when updating. * SessionId.cs: New class for creating session ids. svn path=/trunk/mcs/; revision=19689
22 lines
558 B
C#
22 lines
558 B
C#
//
|
|
// System.Web.SessionState.ISessionHandler
|
|
//
|
|
// Authors:
|
|
// Stefan Görling, ([email protected])
|
|
//
|
|
// (C) 2003 Stefan Görling
|
|
//
|
|
// This interface is simple, but as it's internal it shouldn't be hard to change it if we need to.
|
|
//
|
|
namespace System.Web.SessionState
|
|
{
|
|
internal interface ISessionHandler
|
|
{
|
|
void Dispose ();
|
|
void Init (HttpApplication context, SessionConfig config);
|
|
bool UpdateContext (HttpContext context, SessionStateModule module);
|
|
void UpdateHandler (HttpContext context, SessionStateModule module);
|
|
}
|
|
}
|
|
|