Session.get
Session.get($key, $default='') -> any
Description
Retrieve the value for the given $key
.
If the key does not yet exist, the $default
value is returned.
Session.set('name', 'Alice') // ... in a later request ... Session.get('name') //= 'Alice' Session.get('language', 'en') //= 'en'