PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 105 All time: 9,710 This week: 455Up
Version License PHP version Categories
dframe-session 1.0The PHP License5PHP 5, User Management


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: 15 packages by
Country: Poland Poland
Age: ???
All time rank: 233155 in Poland Poland
Week rank: 89 Up2 in Poland Poland Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x


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\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 folder image Files  
File Role Description
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file Doc. Documentation
Plain text file Session.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,710
This week:455Up