Login   Register  
PHP Classes
elePHPant
Icontem

Class: Jack's Session class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Radoslav Stankov  >  Jack's Session class  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Jack's Session class
Base name: session_class5
Description: Manage user access sessions stored in a database
Related classes: , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2153 users
All time rank: 1505
Week users: 1 user
Week rank: 2503
Picture of Radoslav Stankov
Author: Radoslav Stankov <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Bulgaria Bulgaria - PHP jobs in Bulgaria
Age: 24
All time rank: 7685 in Bulgaria Bulgaria
Week rank: 1661 Down11 Down in Bulgaria Bulgaria


  Detailed description  
This class can be used to manage user access session information storing and retrieving in from a SQL database.

It can start a new sessions creating the respective database records, if the session identified cookie does not exist or the session is expired.
The class can also terminate a session deleting its database records, set the session expiry time, verify set, get and delete session values, update changed sessions.

The class uses a separate database access class to remain database independent.

 

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes

  Rate classes User ratings   Dependencies   Trackback   Applications   Files Files  

  User ratings  
Not yet rated by the users

  Packages needed by this class  
Class Dependency Why it is needed
Jack's MySQL class
Required
database handler for the session class

  Trackback links  
Link Description
PHP Unit testing 2 I have written before about testing in PHP - PHP Unit testing...

  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 folder image Files  
File Role Description
Plain text file session.class.php Class session class
Plain text file example.php Example example
Plain text file example2.php Example show session catch->throw sintax
Plain text file session.sql Data session class database structure

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