| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 105 | All time:  9,729 This week: 455  | ||||
| Version | License | PHP version | Categories | |||
| dframe-session 1.0 | The PHP License | 5 | PHP 5, User Management | 
| Description | Author | |
| This class can manage PHP sessions assigned with a name. | 

$ composer require dframe/session
$this->session = new \Dframe\Session\Session('name');
$session = new \Dframe\Session\Session('HashSaltRandomForSession');
$session->register();                        // Set session_id and session_time - default 60
$session->authLogin();                        // Return true/false if session is registered
$session->set($key, $value);                   // set $_SESSION[$key] = $value;
$session->get($key, $or = null);                // get $_SESSION[$key];
$session->remove($key);                       // unset($_SESSION[$key]);
$session->end();                            // session_destroy
Open-sourced software licensed under the MIT license
|  Files (3) | 
| File | Role | Description | 
|---|---|---|
|    composer.json | Data | Auxiliary data | 
|    README.md | Doc. | Documentation | 
|  Session.php | Class | Class source | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.