is there a cookies based session store for nodejs (connect, express)?

后端 未结 1 1198
北恋
北恋 2021-01-06 02:45

in rails the default session store uses cookies. the session is marshaled and signed with a secret key so that client can\'t temper with it. this approach is very scalable a

相关标签:
1条回答
  • 2021-01-06 03:23

    Connect 2x has one built-in and this is an example of how simple it would be to get something basic going with Express 3x https://gist.github.com/1491756 with the new signed cookie support. You can still do the same thing without upgrading but you'll need to use utils instead of those getters

    0 讨论(0)
提交回复
热议问题