C# Webserver |
MemorySessionStore Members |
MemorySessionStore Class Constructors Methods Properties See Also Send Feedback |
The MemorySessionStore type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MemorySessionStore | Initializes a new instance of the MemorySessionStore class |
Methods
Name | Description | |
---|---|---|
AddUnused |
We use the flyweight pattern which reuses small objects
instead of creating new each time.
| |
Cleanup |
Remove expired sessions
| |
Create | Overloaded. | |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load |
Load an existing session.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save |
Save an updated session to the store.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
ExpireTime |
Number of minutes before a session expires.
Default is 20 minutes.
| |
Item |
Load a session from the store
|