vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Interface SessionStore

Interface for a basic session store.

interface SessionStore ;

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

Properties

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

Methods

NameDescription
create () Creates a new session.
destroy (id) Terminates the given session.
get (id, name, defaultVal) Returns the value for a given session key.
isKeySet (id, key) Determines if a certain session key is set.
iterateSession (id, del) Iterates all keys stored in the given session.
open (id) Opens an existing session.
remove (id, key) Removes a key from a session
set (id, name, value) Sets a name/value pair for a given session.
createSessionInstance (id) Creates a new Session object which sources its contents from this store.
Authors

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

Copyright

© 2012-2013 Sönke Ludwig

License

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