PHP Smart Session: Access sessions initialized only when necessary

Recommend this page to a friend!
  Info   View files (9)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 869 All time: 3,994 This week: 385
Version License PHP version Categories
smart-session 1.0.0GNU Lesser Genera...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: 36
All time rank: 63547 in Brazil Brazil
Week rank: 694 38 in Brazil Brazil
Innovation award
Innovation award
Nominee: 3x

  Files  
File Role Description
test (6 files)
SmartSession.php Class Main class
example.php Example Exemple of use
LICENSE.TXT Lic. License

  Files  /  test  
File Role Description
   test.php Test Main test script.
   testClear.php Aux. Auxiliary script for test
   testDel.php Aux. Auxiliary script for test
   testGet.php Aux. Auxiliary script for test
   testSet.php Aux. Auxiliary script for test
   testStatus.php Aux. Auxiliary script for test

 Version Control Unique User Downloads Download Rankings  
 0%
Total:869
This week:0
All time:3,994
This week:385

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