Results 74 comments of Charles Hill

The expiration of the session in your database applies server-side. This module has a function that clears expired sessions at a set interval - the time between checks can be...

I think you should not be trying to handle disconnects in your application code. The mysql pool handles this automatically. The error ("PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR") means you're trying to use a mysql...

Can you provide more information? * Node version * express-mysql-session version * If you are creating your own MySQL connection, please provide: * The code that does this * The...

I don't like the idea of adding a `user_id` field to the sessions table. Most users of this module won't use it. I think there might be a way to...

@mo Maybe, but only if the other solutions are not workable. Even if a user of this module wanted to set a `user_id` column in their sessions table, maybe they...

@mo How did this one end up?

Please tell me see if I understand correctly. When a new option flag is `true`, then the following happens: * The `createDatabaseTable` function will add a user ID field to...

Is there still interest in this issue?

It's still not clear to me how to proceed with this one. I don't want to introduce foot-guns with a feature that most users of this module won't need. But...

I've recently rolled out a project that uses express with a postgreSQL database and a compatible express session store. I wanted to achieve the same result as @mo as discussed...