Version: v0.6.1 - Beta.  We welcome contributors & feedback.  THanks!

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');  //= ''