Sessions A non-blocking session manager for PHP

Getting Started

Usage

Management

Namespaces

View the API Documentation for this class

To avoid clashes within your application you can use namespaces within your session

$session->set("user", "Mark");

$backend = $session->createNamespace("backend");
$backend->set("user", "Caroline");

$session->get("user"); # "Mark"
$backend->get("user"); # "Caroline"

You can also create sub-namespaces:

$mainReports = $session->createNamespace("reports");

$admin = $session->createNamespace("admin");
$adminReports = $admin->createNamespace("reports");

The SessionNamespace class implements the SessionInterface