Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (3) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2022-01-30 (12 days ago) | Not yet rated by the users | Total: 92 | All time: 9,655 This week: 193 |
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 |
File | Role | Description |
---|---|---|
composer.json | Data | Auxiliary data |
README.md | Doc. | Documentation |
Session.php | Class | Class source |
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.