PHP Classes
elePHPant
Icontem

Stackable PHP Session Handler: Store session data with multiple session handlers

Recommend this page to a friend!
  Info   View files Example   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-10-22 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 259 All time: 7,452 This week: 559Up
Version License PHP version Categories
stacksess 1.0GNU Lesser Genera...5.0PHP 5, User Management
Description Author

This package can store session data with multiple session handlers.

It provides multiple session handlers that can be chained and provide multiple features to the way your PHP sessions are stored.

Currently it provides session handlers that can:

- Encrypt session data
- Write session data without blocking sessions
- Perform security check with session data
- Minimize session data writes

The base class also provide for debugging and logging session accesses.

Recommendations

What is the best PHP secure session database class?
Store and retrieve data Session Encryption

Innovation Award
PHP Programming Innovation award nominee
November 2015
Number 6


Prize: One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database
PHP provides means to override the default method for storing and retrieving session data, which uses local server files. This way you can build a session handler that suites better your application needs.

This package provides a solution that lets you compose the features that your application needs to store session data.

You can chain multiple session handlers that provide useful features like encryption, security, optimized session writes, etc..

Manuel Lemos
  Performance   Level  
Name: Colin McKinnon <contact>
Classes: 4 packages by
Country: United Kingdom United Kingdom
Age: ???
All time rank: 146563 in United Kingdom United Kingdom
Week rank: 1043 Up41 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imageexamples (9 files)
Files folder imagehandlers (7 files)
Accessible without login HTML file index.html Doc. Introduction

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file builtin.php Example Using the builtin handler (for baseline)
  Accessible without login Plain text file compatible.php Example Example using the compatible (with the builtin handler) handler
  Accessible without login Plain text file encrypting.php Example A very security session data encrypting handler
  Accessible without login Plain text file nonblock.php Example Using the nonblocking handler
  Accessible without login Plain text file null.php Example The null handler (on top of the compatible handler)
  Accessible without login Plain text file security.php Example Apply security checks to session (>=5.5.4)
  Accessible without login Plain text file sometimes.php Example The writeSometimes handler (on top of the compatible handler)
  Accessible without login Plain text file sometimesnonblock.php Example The writeSometimes handler on top the non-blocking handler
  Accessible without login Plain text file utils.inc.php Example Utilitiy functions for the example files

  Files folder image Files  /  handlers  
File Role Description
  Accessible without login Plain text file compat.inc.php Class Compatible Session Handler
  Accessible without login Plain text file encrypting.inc.php Class Encrypting Session Handler
  Accessible without login Plain text file nonBlocking.inc.php Class Using non-blocking file IO
  Accessible without login Plain text file nullsess.inc.php Class A null handler - use as a template
  Accessible without login Plain text file security.inc.php Class Add additional security checks to the session management
  Accessible without login Plain text file stackSess.inc.php Class base class
  Accessible without login Plain text file writeSometimes.inc.php Class Reduce unnecessary writes to improve performance and scalability

 Version Control Unique User Downloads Download Rankings  
 0%
Total:259
This week:0
All time:7,452
This week:559Up