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

x/fresh_session/mod.ts>Session

Dead simple cookie-based session for Deno Fresh.
Go to Latest
class Session
Re-export
import { Session } from "https://deno.land/x/fresh_session@0.2.2/mod.ts";

Constructors

new
Session(data?, flash?)

Properties

readonly
data
readonly
doDelete
readonly
doKeyRotate
readonly
flashedData

Methods

flash(key: string, value?: any)
get(key: string)
has(key: string)
set(key: string, value: any)