nodejs / express中的数据库会话支持 [英] Database session support in nodejs/express
本文介绍了nodejs / express中的数据库会话支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
expressjs / nodejs是否支持(通过模块?)数据库会话?我来自PHP / CodeIgniter的世界,我喜欢在mysql数据库表中存储会话数据的功能。
Does expressjs/nodejs have support (via a module?) for database sessions? I come from the world of PHP/CodeIgniter and I've enjoyed the features of storing session data in a mysql database table.
这种方法是用于nodejs web应用程序吗?
Is this approach used with nodejs web apps?
推荐答案
是的。
- https://github.com/visionmedia/connect-redis
-
https://github.com/mren/connect-session-mysqlBroken Link li>
-
https://github.com/CarnegieLearning/connect-mysql-session旧,不支持 - https://github.com / chill117 / express-mysql-session
https://github.com/mren/connect-session-mysqlBroken Linkhttps://github.com/CarnegieLearning/connect-mysql-sessionOld, Unsupported- https://github.com/chill117/express-mysql-session
- https://github.com/jebas/connect-pg
- 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
- 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
- https://github.com/balor/connect-memcached
- https://github.com/tdebarochez/connect-couchdb
- https://github.com/eldios/connect-cradle
- https://github.com/frank06/connect-riak
- https://github.com/tnantoka/connect-sqlite
- https://github.com/pkrumins/supermarket-cart
- https://github.com/odogono/connect-session-file
- https://github.com/tnantoka/connect-fs
- https://github.com/kazupon/connect-kyoto
- https://github.com/pofallon/connect-bluesky
- https://github.com/creationix/nstore-session
- https://github.com/mmichelli/connect-dirty
- https://github.com/triAGENS/SessionVoc-Connect.js
实现自己的方法非常简单,请参阅这里的文档。
It's quite simple to implement your own, see documentation here.
这篇关于nodejs / express中的数据库会话支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文