property SessionPluginOptions.rolling

Re-issue the cookie on every response, extending the expiry so an active user is not logged out mid-session. Default false, which commits only when the session actually changed.

Type

boolean

Usage

import { type SessionPluginOptions } from "session-plugin/src/index.ts";