Skip to main content
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.0/mod.ts";

Constructors

new
Session(data?, flash?)

Properties

readonly
data
readonly
doDelete
readonly
flashedData

Methods

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