vibe.d beta banner
get vibe.d
0.8.4

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

Class MongoSessionStore

class MongoSessionStore
  : SessionStore ;

Constructors

NameDescription
this Constructs a new MongoDB session store.

Properties

NameTypeDescription
expirationTime[get, set] core.time.DurationThe duration without access after which a session expires.
storageType[get] SessionStorageTypeReturns the internal type used for storing session keys.

Methods

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

Sönke Ludwig

Copyright

© 2017 RejectedSoftware e.K.

License

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