How do you store data server side that is specific to a client in Meteor?

后端 未结 6 1384
北恋
北恋 2021-02-13 02:29

Express implements a server side session object that lets you store data specific to a client. How would you do the equivalent in Meteor?

strack recommended using a coll

6条回答
  •  春和景丽
    2021-02-13 02:56

    A session behaves a little differently than a collection. If you are truly looking for a session based solution, use the Session.set() method to of course set your values, and retrieve them when needed with Session.get().

提交回复
热议问题