logmein
Viewing readonly version: 111View latest version
Script
99
1
2
3
4
5
6
7
8
9
10
11
12
import { type Cookie } from "https://deno.land/std/http/cookie.ts";
function setSessionCookie(key: string): Cookie {
return {
name: "session",
value: key,
path: "/",
httpOnly: true,
secure: true,
sameSite: "Strict",
};
}