RedisSessionStorageOptions
Summary
Options for Redis-backed session storage created by createRedisSessionStorage.
Signature
interface RedisSessionStorageOptions {
keyPrefix?: string;
ttl?: number;
useUnknownIds?: boolean;
}
Properties
keyPrefix
Prefix for session keys in Redis.
ttl
Session TTL in seconds. If set, the session key expires automatically.
useUnknownIds
Whether to reuse session IDs sent from the client that are not found in storage.