Session · Mecha CMS

Persistent storage using sessions.

$session::get()

Author: Taufik Nurrohman · 168 Views

Tweet

Get a session.

Session::get($key = null, $fail = null);

Example:

Session::get('my_session', '#');

To get all sessions:

Session::get();