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

Session.deleteAll

Session.deleteAll() -> null

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