You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to trigger a event as soon a session is destroyed, something like this:
var store = new MongoStore()
store.on('destroy', function (sess) {
// react to your store destroying a session
})
app.use(expressSession({ store: store }))
Is this supported?
The text was updated successfully, but these errors were encountered:
I want to trigger a event as soon a session is destroyed, something like this:
Is this supported?
The text was updated successfully, but these errors were encountered: