Create a constant session in Meteor javascript -


i building web store using meteor , having issues adding items cart. right now, each cart uniquely identified session id. however, if have 2 browser tabs open, each tab have own session id. therefore, there method or technique can use create session id constant across browser tabs?

thank you!

you have 2 option here:

  1. save on temporary collection on server persist across browsers / devices.

  2. use localstrorage persist acroos tab on same browser. take amplifyjs store , meteor-persistent-session.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -