cbstorages

Official

Flexible, secure cross-request data storage

AuthorColdBox
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cbstorages
Download link: https://github.com/ColdBox/skills/archive/main.zip#cbstorages

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.