Tuesday 15 January 2013

node.js - Nodejs: sharing session across meteor and express app running as separate instances -


In fact, the user logs on the meteor app that runs on the local host: using 30000 accounts-UI packages. Express app is running on Localhost: 34444

At some point, a user will need to use the express app (this is actually a Q), and I want to prevent the user from logging twice I am

Both examples are running on the same domain, only separate ports

can be accessed by a user from another web server instance (meteor in this case), all the one In the same domain.

Use Redis for that fast and easy if you want to use memory Somehow easy), you can have a problem in racing conditions, because there is no locking mechanism in the memcach

No comments:

Post a Comment