PHP Classes
Icontem

Class: Locked Session Handler


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of brolewis  >  Locked Session Handler  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Locked Session Handler Support forum
Base name: session
Description: Session handler with variable locking support
Related top rated classes: , ,
Version: -
Required PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 1971 users
All time rank: 1347
Week users: 1 user
Week rank: 3247
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of brolewis
Name: brolewis <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Home page: ???
Age: ???
All time rank: 988
Week rank: 1888

Innovation Award

PHP Programming Innovation award nominee
September 2004
Number 4
The capability to manage user session information is an important and popular feature of multi-user PHP applications.

Sometimes it is necessary to set session variables that should not be changed throughout the session lifetime, like for instance application constants or session fixed values, such as the current session user name, or even values that should not be changed because the user access is in a state that requires that some variable be locked against changes.

However, an application may accidentally attempt to change session variables that should not be changed due to bugs or concurrency situations that were not predicted.

This class implements a wrapper around the access to session variables to implement locking mechanisms and detect situations of invalid change attempts that are due to bugs that need to be fixed.

Manuel Lemos

Groups

Group folder image User Management User records, authentication and session handling View top rated classes

Detailed description

This class is custom session handler that allows for values stored in the session variables to be locked to prevent changes.

The class provides functions to set, retrieve, check and delete session variable values, as well functions to lock and unlock given session variables.

The names of locked variables are added to a special session variable array. If a script attempts to changes or delete locked session variables, they are not changed and the class will issue a non-fatal error notice.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (43.8%)
Not sure (50.0%)
-
Sufficient (62.5%)
-
-
Insufficient (33.1%)
1865
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file session.class.php Class Main Session Class
Plain text file sessionTest.php Example Example
Download all files: session.tar.gz session.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products