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

Session.deleteAll

Session.deleteAll()

Description

Delete all keys for the current session.

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


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

Session.deleteAll();

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