vibe.d beta banner
get vibe.d
0.7.31

Interface SessionStore

Interface for a basic session store.

interface SessionStore;

A sesseion store is responsible for storing the id and the associated key/value pairs of a session.

Properties

Properties

NameTypeDescription
storageType[get]SessionStorageTypeReturns the internal type used for storing session keys.

Methods

Methods

NameDescription
createCreates a new session.
destroyTerminates the given session.
getReturns the value for a given session key.
isKeySetDetermines if a certain session key is set.
iterateSessionIterates all keys stored in the given session.
openOpens an existing session.
setSets a name/value pair for a given session.
createSessionInstanceCreates a new Session object which sources its contents from this store.
Authors

Jan Krüger, Sönke Ludwig, Ilya Shipunov

Copyright

© 2012-2013 RejectedSoftware e.K.

License

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