Database Session Support In Nodejs/express
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
Solution 1:
Yes.
Redis
MySQL
https://github.com/mren/connect-session-mysqlBroken Linkhttps://github.com/CarnegieLearning/connect-mysql-sessionOld, Unsupported- 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
File-based
Kyoto-cabinet
Azure
nStore
node-dirty
VOC (?)
It's quite simple to implement your own, see documentation here.
Post a Comment for "Database Session Support In Nodejs/express"