Login   Register  
PHP Classes
elePHPant
Icontem

PHP Smart Session: Access sessions initialized only when necessary

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-04-29 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 839 All time: 3,818 This week: 1,528Up
Version License PHP version Categories  
smart-session 1.0.0GNU Lesser General Publ...5.2PHP 5, User Management
Description Author  

This class can access sessions initialized only when necessary.

It can perform several operations with session variables like set or get values, check if variable is set and delete a variable.

The creation of a session is only done after the first access.

The class can check if session cookies or session GET variables to determine if a session exists before retrieving, deleting or checking a session variable value.

Innovation Award  
PHP Programming Innovation award nominee
May 2013
Number 5


Prize: One downloadable copy of Komodo IDE
Every PHP script that needs use PHP sessions has some overhead just to start the sessions, even if sessions are not used.

This class can avoid session initialization overhead by only starting the sessions when they are needed in a script for the first time.

Manuel Lemos
Picture of Rubens Takiguti Ribeiro
Name: Rubens Takiguti Ribeiro is available for providing paid consulting. Contact Rubens Takiguti Ribeiro .
Classes: 7 packages by
Country: Brazil Brazil
Age: 30
All time rank: 64550 in Brazil Brazil
Week rank: 405 Up28 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imagetest (6 files)
Plain text file SmartSession.php Class Main class
Accessible without login Plain text file example.php Example Exemple of use
Accessible without login Plain text file LICENSE.TXT Lic. License

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file test.php Test Main test script.
  Accessible without login Plain text file testClear.php Aux. Auxiliary script for test
  Accessible without login Plain text file testDel.php Aux. Auxiliary script for test
  Accessible without login Plain text file testGet.php Aux. Auxiliary script for test
  Accessible without login Plain text file testSet.php Aux. Auxiliary script for test
  Accessible without login Plain text file testStatus.php Aux. Auxiliary script for test

 Version Control Unique User Downloads Download Rankings  
 0%Total:839All time:3,818
 This week:0This week:1,528Up