connect-session-knex
connect-session-knex copied to clipboard
A knex.js session store for express-session, supporting PostgreSQL, MySQL, MariaDB, Oracle and SQLite.
I'm trying to perform a deployment of an app on Heroku that uses clearDB in version 5.5.62 that doesn't support json type fields. I saw that recently there was a...
I have automated tests every time I save any file (with `mocha --watch`), and this means knex store is initialized A LOT throughout my day. I've noticed that after a...
I was trying to figure out why I had an obscure `EventEmitter` error, and it took me very long to figure out that I missed out `new`. Most of the...
I saw a reference to a `dbCleanup` function in one of the issues (I guess it wasn't working in SQLite?), but no other mention of what it is or how...
Hi, i tried to use this module to store my sessions, but I'm encountering an error when it tries to create a dedicated table to store the sessions: `Unhandled rejection...
When creating new knex session store it performs some database queries (i.e. checks whether session table exists). If some of these queries fail, session store is unusable, because sessionStore.ready promise...
They should be encrypted before saving right? so in the case of a database leak session ids cannot be used.
I keep getting an error `ER_TOO_LONG_KEY: Specified key was too long; max key length is 767 bytes` when trying to create the required sessions table, any ideas?
I am using MySQL, but not able to delete all sessions belonging to the same user when the user changes his/her password. Wonder if I missed anything or this functionality...
If you set maxAge to 30minutes and your timezone is +1 (e.g. London), this library creates already expired sessions. Creating a session and trying to read it back queries back...