Iron Router Session.set Session.get how to?


Can someone clarify the correct way to use Session.set & Session.get with Iron router?

1 Like

I don’t think you will find many people here who can help with that, Iron Router hasn’t been recommended for at least a year now. You should try FlowRouter or if using React you have the option of React Router too.

Using Sessions is also frowned upon, the preferred method is to use ReactiveVar or using React State.

1 Like