vibe.d beta banner
get vibe.d
0.8.2

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

Class MongoSessionStore

class MongoSessionStore
  : SessionStore ;

Constructors

NameDescription
thisConstructs 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
createCreates a new session.
destroyTerminates the given session.
get
isKeySetDetermines if a certain session key is set.
iterateSessionIterates all keys stored in the given session.
openOpens an existing session.
removeRemoves a key from a session
set
getReturns the value for a given session key.
setSets a name/value pair for a given session.
createSessionInstanceCreates 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.