Using Sessions in Meteor

2016 04 08 No Comments

Sessions are necessary at almost many project. In meteor, it is simple to use it.

First, you should add session library to project.

meteor add session

Then, you can use like this sessions in meteor js.

Session.get('key'); // get
Session.set('key', value); // edit/add
delete Session.keys.key // delete

You can use this package to use sessions.

Leave a Reply

Your email address will not be published. Required fields are marked *