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 (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-06-12 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 52 All time: 9,823 This week: 252Up
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: 738 Up20 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('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

License

Open-sourced software licensed under the MIT license

  Files folder image Files  
File Role Description
Files folder imagedocs (2 directories)
Files folder imagesrc (1 file)
Files folder imagetests (2 files)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  docs  
File Role Description
Files folder imageextensions (1 file)
Files folder imageoverview (1 file)

  Files folder image Files  /  docs  /  extensions  
File Role Description
  Accessible without login Plain text file Session.md Data Auxiliary data

  Files folder image Files  /  docs  /  overview  
File Role Description
  Accessible without login Plain text file GoodPractice.md Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
  Plain text file Session.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file Bootstrap.php Class Class source
  Plain text file SessionTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:52
This week:0
All time:9,823
This week:252Up

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