数据库会话在nodejs / express中的支持
expressjs / nodejs是否支持(通过模块?)数据库会话? 我来自PHP / CodeIgniter世界,我喜欢将会话数据存储在mysql数据库表中的function。
这种方法是否与nodejs web应用程序一起使用?
是。
Redis的
MySQL的
-
https://github.com/mren/connect-session-mysqlBroken Link -
https://github.com/CarnegieLearning/connect-mysql-session旧的,不支持的 - https://github.com/chill117/express-mysql-session
PostgreSQL的
MongoDB的
- https://github.com/kcbanner/connect-mongo
- https://github.com/bartt/connect-session-mongo
- https://github.com/donpark/session-mongoose
- https://github.com/masylum/connect-mongodb
Memcached的
CouchDB的
了Riak
SQLite的
基于文件的
京都柜
azure
nStore
节点脏
VOC(?)
这是很容易实现你自己的, 看文档在这里 。