What problem does it solve?
Provides a unified, pluggable API for persisting data across HTTP requests in ColdBox/BoxLang so applications can manage session state, cookies, cache entries, request-scoped values, and application-wide storage without duplicating adapter-specific code or leaking sensitive data.
Core Features & Use Cases
- Universal get/set/exists/delete/clear API across Session, Cookie, Cache, Request, and Application adapters to simplify persistence logic.
- Built-in support for TTLs, cookie attributes (secure, httpOnly, sameSite), encryption for sensitive values, and dependency-injection friendly adapters for seamless integration.
- Practical patterns and examples for shopping carts (session-backed), user preference cookies (optionally encrypted), and API token caching (cache-backed with TTL).
Quick Start
Store and retrieve a user's shopping cart in sessionStorage with encryption enabled and a 30-minute TTL.