Mysql express sessions

I cannot find a good way to use sessions stored in mysql using expression and node.js. Does anyone have some module tips or a way to achieve this?

early

+3
source share
2 answers

I created a very simple MySQL session store called connect-mysql-session . This is useful if you already have a MySQL database and want to use it to continue your sessions. Install it via npm with:

[sudo] npm install [-g] connect-mysql-session
+7
source

Currently, there are seven intermediate session connection control programs (for which express start is performed) that I know:

express-session ( - MemoryStore)

connect-redis https://github.com/visionmedia/connect-redis

connect-mongodb https://github.com/masylum/connect-mongodb

connect-couchdb https://github.com/tdebarochez/connect-couchdb

connect-memcached https://github.com/balor/connect-memcached

nstore-session https://github.com/creationix/nstore-session

cookie- ( cookie ) https://github.com/caolan/cookie-sessions

Mysql , - . (connect-redis - 125 , , , .)

+2

All Articles