Aino.Session.Token (aino v0.6.0)
Token functions related only to session
Session data must be decoded before using these functions
Link to this section Summary
Functions
Clear a session, resetting to an empty map
Delete a key from the session
Puts a new key/value session data
Link to this section Functions
Link to this function
clear(token)
Clear a session, resetting to an empty map
Link to this function
delete(token, key)
Delete a key from the session
While keeping the rest of the session in tact
Link to this function
delete(token, key, value)
Link to this function
put(token, key, value)
Puts a new key/value session data
Values must be serializable via JSON.
Session data must be decoded before using putting a new key