THT is in early Beta. We welcome contributors & feedback.

Session.set

Session.set(key, value)

Description

Set a session value for the given key.

Session.set('name', 'Alice');


// ... in a later request ...

Session.get('name'); //= 'Alice'