Raxol.Web.Session.Storage (Raxol v0.3.0)

View Source

Handles session storage and retrieval for Raxol applications.

This module provides persistent storage for session data using ETS tables and optional database storage for long-term persistence.

Summary

Functions

Delete a session from storage.

Retrieve a session from storage.

Get all active sessions.

Get all expired sessions.

Initialize the session storage system.

Store a session in the storage system.

Functions

delete(session_id)

Delete a session from storage.

get(session_id)

Retrieve a session from storage.

get_active_sessions()

Get all active sessions.

get_expired_sessions(timeout)

Get all expired sessions.

init()

Initialize the session storage system.

store(session)

Store a session in the storage system.