Session · Mecha CMS

Persistent storage using sessions.

$session::set()

Author: Taufik Nurrohman · 157 Views

Tweet

Set a session.

Session::set($key, $value = "");

Example:

Session::set('my_session', 'the value');