Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method SessionManager.prototype.set
import { SessionManager } from "https://deno.land/x/frugal@0.2.1/packages/frugal_oak/SessionManager.ts";

Create a new session object with the given content.

The session uses a persistance layer, and returns the id of the created session

Parameters

content: string

Returns

Promise<string>