Dframe PHP Session Class: Manage PHP sessions assigned with a name

Recommend this page to a friend!
  Info   View files Documentation   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-09-12 (12 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 58 This week: 3All time: 9,812 This week: 85Up
Version License PHP version Categories
dframe-session 1.0The PHP License5PHP 5, User Management
Description Author

This class can manage PHP sessions assigned with a name.

It can take assign the name of the current session to a given name.

The class also provides functions to provide features of interest like:

- Assign a fingerprint value based on the current session name, user IP address and browser
- Check if the current session fingerprint is still values
- Set, get, check and delete one session variable
- Set, get, check and delete multiple session variables at once

Picture of Slawomir Kaleta
  Performance   Level  
Name: Slawomir Kaleta <contact>
Classes: 9 packages by
Country: Poland Poland
Age: ???
All time rank: 314975 in Poland Poland
Week rank: 12 Up1 in Poland Poland Up

Details

Dframe/Sesssion - Component

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

php framework dframe logo

Documentation - Session PHP

Composer

$ composer require dframe/session

Standalone

$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

License

Open-sourced software licensed under the MIT license

  Files folder image Files  
File Role Description
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Plain text file Session.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:58
This week:3
All time:9,812
This week:85Up

For more information send a message to info at phpclasses dot org.