Version: v0.7.0 - Beta.  We welcome contributors & feedback.

Session.deleteAll

Session.deleteAll() -> false

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