session_storage
Capture localStorage and sessionStorage for a session's origin, then reuse the snapshot to restore logged-in state in a new session — covering session tokens that cookies cannot carry.
Instructions
Snapshot the session's localStorage/sessionStorage for the current origin: {url, local_storage, session_storage}. Feed it back via session_create's storage field to restore a logged-in state in a new session — the half of login state that cookies can't carry (many sites keep the session token in localStorage). Call before the session idles out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID |