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

Recommend this page to a friend!
  Info   Documentation   View files (9)   Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-06-12 (1 month ago) Not yet rated by the usersTotal: 52 This week: 1All time: 9,821 This week: 255
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: 7 packages by
Country: Poland Poland
Age: ???
All time rank: 332877 in Poland Poland
Week rank: 131 2 in Poland Poland


Dframe/Sesssion - Component

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

php framework dframe logo

Documentation - Session PHP


$ composer require dframe/session


$this->session = new \Dframe\Session('name');
$session = new 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

File Role Description
docs (2 directories)
src (1 file)
tests (2 files)
.travis.yml Data Auxiliary data
composer.json Data Auxiliary data
phpunit.xml Data Auxiliary data
README.md Doc. Documentation

  Files  /  docs  
File Role Description
extensions (1 file)
overview (1 file)

  Files  /  docs  /  extensions  
File Role Description
   Session.md Data Auxiliary data

  Files  /  docs  /  overview  
File Role Description
   GoodPractice.md Data Auxiliary data

  Files  /  src  
File Role Description
   Session.php Class Class source

  Files  /  tests  
File Role Description
   Bootstrap.php Class Class source
   SessionTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:9,821
This week:255

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