.NET Framework Class Library
SessionIDManager Members

Manages unique identifiers for ASP.NET session state.

The SessionIDManager type exposes the following members.

Constructors

  NameDescription
Public methodSessionIDManagerCreates an instance of the SessionIDManager class.
Top
Methods

  NameDescription
Public methodCreateSessionIDCreates a unique session identifier for the session.
Public methodDecodeDecodes a URL-encoded session identifier obtained from a cookie or the URL.
Public methodEncodeEncodes the session identifier for saving to either a cookie or the URL.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetSessionIDGets the session-identifier value from the current Web request.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeInitializes the SessionIDManager object with information from configuration files.
Public methodInitializeRequestPerforms per-request initialization of the SessionIDManager object.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveSessionIDDeletes the session-identifier cookie from the HTTP response.
Public methodSaveSessionIDSaves a newly created session identifier to the HTTP response.
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Public methodValidateGets a value indicating whether a session identifier is valid.
Top
Properties

  NameDescription
Public propertyStatic memberSessionIDMaxLengthGets the maximum length of a valid session identifier.
Top
See Also

Reference

Tags :


Page view tracker