Sessions
Runique uses CleaningMemoryStore as the default session store — a wrapper around an in-memory HashMap that adds automatic cleanup, watermark protection, and protection for valuable sessions.
| Section | Content |
|---|---|
| Store & Watermarks | CleaningMemoryStore, low/high watermarks, memory estimation |
| Protection | Automatic protection (user_id), manual (session_active), shopping cart use cases |
| Usage & Configuration | Session access in handlers, .env, builder |