Sessions

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.

SectionContent
Store & WatermarksCleaningMemoryStore, low/high watermarks, memory estimation
ProtectionAutomatic protection (user_id), manual (session_active), shopping cart use cases
Usage & ConfigurationSession access in handlers, .env, builder