Sessions A non-blocking session manager for PHP

Getting Started

Usage

Management

Session ID

View the API Documentation for this class

You can use specific session ID by pasing it as the third parameter when creating a SessionInstance:

use duncan3dc\Sessions\SessionInstance;

$session = new SessionInstance("session-name", null, "session-id");

You can then retrieve the current session ID like so:

$id = $session->getId();

These features were added in v1.2.0