I am trying to configure a lightweight application with Express.js. I would like to use Sqlite3 for storage.
I need some sort of session management and try to use the session management module described in the Express instruction document, so (CoffeeScript)
g.app.configure -> g.app.set 'views', "#{__dirname}/views" g.app.set 'view engine', 'jade' g.app.use g.express.bodyParser() g.app.use g.express.cookieParser() g.app.use g.express.session(secret:'cruel') g.app.use g.express.methodOverride() g.app.use g.app.router g.app.use g.express.static "#{__dirname}/public"
Now I would like to somehow save the sessions either in sqlite3, or as files in the project path.
All the examples I find use different types of NoSql databases.
Can anyone shed some light on where to find other session storage modules or even how to implement it.
source share