property ISession.isNew

Whether this session was created for this request rather than restored from a cookie. true for a first visit, and for a request whose cookie was missing, expired, or failed authentication.

Type

boolean

Usage

import { type ISession } from "common/src/index.ts";