MemorySessionStore Members

HttpServer.dll

The MemorySessionStore type exposes the following members.

Constructors

  NameDescription
MemorySessionStore
Initializes a new instance of the MemorySessionStore class

Methods

  NameDescription
AddUnused
We use the flyweight pattern which reuses small objects instead of creating new each time.
Cleanup
Remove expired sessions
CreateOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(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
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
ExpireTime
Number of minutes before a session expires. Default is 20 minutes.
Item
Load a session from the store

See Also