Class MemorySessionStore

Session store for storing a session in local memory.

If the server is running as a single instance (no thread or process clustering), this kind of session store provies the fastest and simplest way to store sessions. In any other case, a persistent session store based on a database is necessary.

Inherits from

Methods

Method name Description
this
create Creates a new session.
open Opens an existing session.
set Sets a name/value pair for a given session.
get Returns the value for a given session key.
isKeySet Determines if a certain session key is set.
destroy Terminates the given sessiom.
iterateSession Iterates all key/value pairs stored in the given session.

Authors

Jan Krüger, Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.