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

  Author Author  
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: 66152 in Brazil Brazil
Week rank: 186 Up13 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

  Classes of Rubens Takiguti Ribeiro  >  PHP Smart Session  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Smart Session
Base name: smart-session
Description: Access sessions initialized only when necessary
Version: 1.0.0
PHP version: 5.2
License: GNU Lesser General Public License (LGPL)
All time users: 827 users
All time rank: 3827
Week users: 1 user
Week rank: 1516 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes


  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

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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

Install with Composer Install with Composer - Download Download all files: smart-session.tar.gz smart-session.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.