\Greg\Support\Session
is working with $_SESSION
.
Uses: \Greg\Support\Accessor\ArrayAccessorStaticTrait
.
- reloadFlash - Reload flash container;
- loadFlash - Load flash container;
- unloadFlash - Unload flash container;
- setFlash - Set a flash value;
- getFlash - Get a flash value;
- iniSet - Set a session configuration;
- iniGet - Get a session configuration;
- hasId - Determine if has session id;
- getId - Get session id;
- setId - Set session id;
- persistent - Enable/disable persistent mode;
- setName - Set session name;
- getName - Get session name;
- start - Start session;
- unserialize - Unserialize session data;
- resetLifetime - Reset cookie session lifetime.
Methods description is under construction.