PHP Classes
Icontem

Class: Session in Cookies


  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 Ahmed Magdy  >  Session in Cookies  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Session in Cookies Support forum
Base name: cookie_session
Description: Session handler that stores data in cookies
Related top rated classes: ,
Version: -
Required PHP version: 4
License: GNU General Public License (GPL)
All time users: 2137 users
All time rank: 1225
Week users: 2 users
Week rank: 2979
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Ahmed Magdy
Name: Ahmed Magdy <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Egypt Egypt - PHP jobs in Egypt
Home page: http://www.a1works.com/
Age: 29
All time rank: 617
Week rank: 1583

Innovation Award

PHP Programming Innovation award nominee
December 2006
Number 2
By default, sessions use server side files to store and retrieve session data on each request.

Storing session data in files works well for single server sites. For sites served by a cluster, it may become too slow, if possible at all.

This class implements an alternative session handling solution that uses cookies to store session data. It uses encryption to preserve the integrity and privacy of the data that is stored.

Despite this solution leads to a greater bandwidth usage, it is a much less complicated solution than other alternatives to make sessions work in a clustered Web server environment.

Manuel Lemos

Groups

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

Detailed description

This class implements a session handler that store session data in cookies.

The cookie data is encrypted with a secret server side key to prevent sniffers from see its contents.

The class buffers the page contents to be able to send the headers of new session cookie values before the page contents are served.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (75.0%)
Good (83.3%)
Not sure (58.3%)
Sufficient (75.0%)
-
-
Not sure (59.2%)
761
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
Accessible without login Plain text file cookie_session.php Class The cookie session class
Plain text file doc.txt Doc. Read me file
Plain text file test2.php Example The second example script that shows the samed session data.
Plain text file test1.php Example the first test file where session is set.
Download all files: cookie_session.tar.gz cookie_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