namespace EmbedIO.Sessions { /// /// Represents a session proxy, i.e. an object that provides /// the same interface as a session object, plus a basic interface /// to a session manager. /// /// /// A session proxy can be used just as if it were a session object. /// A session is automatically created wherever its data are accessed. /// /// public interface ISessionProxy : ISession { /// /// Gets a value indicating whether a session exists for the current context. /// /// /// if a session exists; otherwise, . /// bool Exists { get; } /// /// Deletes the session for the current context. /// void Delete(); /// /// Deletes the session for the current context and creates a new one. /// void Regenerate(); } }