PHP Classes

Session Store: Store and retrieve sessions as arrays of values

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 391 All time: 6,631 This week: 288Up
Version License PHP version Categories
session-store 1Freely Distributable5PHP 5, User Management


This class can store and retrieve sessions as arrays of values.

It can take on more strings of session data and add them to an array that is stored in a session variable.

The data values can be appended to the array or added with a specific array index value.

The class can also retrieve the array of values previously stored in that session variable or just specific values with given index keys values.

It can also check of any data values were added to the session variable, as well reset the session variable.

Picture of Anthony Amolochitis
  Performance   Level  
Name: Anthony Amolochitis <contact>
Classes: 10 packages by
Country: United States United States
Age: 44
All time rank: 1138166 in United States United States
Week rank: 349 Up41 in United States United States Up


What is the best PHP session class?
Handle session variables.



require_once "SessionDataStore.php";

$someData = new stdClass() ;
$someData->name = "Billy Bob" ;
$someData->zipcode = "77002" ;
$someData->other = "Has curly hair";

 * Store the data here
SessionDataStore::AddData( json_encode( $someData ) );

 * Get Array of custom data stored in the session
$DataArray = SessionDataStore::GetData() ;


  Files folder image Files  
File Role Description
Plain text file example.php Example Example file
Plain text file SessionDataStore.php Class Store data in sessions

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,631
This week:288Up