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
For Connect `1.x` and `2.x`, just replace `express` by `connect`.
51
-
52
39
### Connection to MongoDB
53
40
54
41
In many circumstances, `connect-mongo` will not be the only part of your application which need a connection to a MongoDB database. It could be interesting to re-use an existing connection.
@@ -126,7 +113,7 @@ A `MongoStore` instance will emit the following events:
126
113
|`touch`| A session has been touched (but not modified) |`sessionId`|
127
114
|`update`| A session has been updated |`sessionId`|
128
115
|`set`| A session has been created OR updated _(for compatibility purpose)_|`sessionId`|
129
-
|`destroy`| A session has been destroyed |`sessionId`|
116
+
|`destroy`| A session has been destroyed manually |`sessionId`|
130
117
131
118
## Session expiration
132
119
@@ -137,8 +124,8 @@ Otherwise, it will create a new one, using `ttl` option.
0 commit comments