We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a396ef commit 44453bfCopy full SHA for 44453bf
README.md
@@ -78,6 +78,7 @@ app.use('*', sessionMiddleware({
78
// You can also supply a function instead of a plain string
79
// encryptionKey: () => 'function_that_returns_a_long_string'
80
expireAfterSeconds: 900, // Expire session after 15 minutes of inactivity
81
+ autoExtendExpiration: true, // Extend the session expiration time automatically. Defaults to true
82
cookieOptions: {
83
sameSite: 'Lax', // Recommended for basic CSRF protection in modern browsers
84
path: '/', // Required for this library to work properly
0 commit comments