Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/xserver/src/mod.ts>Session#expiration

X-Server a Deno server module with middleware
Go to Latest
method Session.prototype.expiration
Re-export
import { Session } from "https://deno.land/x/xserver@5.3.0/src/mod.ts";

The number of milliseconds the session/cookie is valid default is 1 day or 24 hours.

Parameters

expiration: number