Should not use global `Session`JS-0727
meteor
Session variables live in a global namespace, which is bad practice. ReactiveDict should be used instead.
Bad Practice
Session.set('foo')
Session.get('foo')
Session.all()
Session.clear()
Recommended
ReactiveDict.get('foo')
ReactiveDict.set('foo', 'bar')
ReactiveDict.setDefault('foo', 'bar')
ReactiveDict.equals('foo', 'bar')
ReactiveDict.all()
ReactiveDict.clear()
ReactiveDict.destroy()