Login   Register  
PHP Classes
elePHPant
Icontem

Cookie Handler Class: Store and retrieve serialized variables in cookies

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-11-02 (9 years ago) RSS 2.0 feedStarStarStar 58%Total: 2,153 All time: 1,707 This week: 1,384Up
Version License Categories  
cookie_class 1.0GNU General Public Lice...HTTP
Description Author  

This class can be used to store and retrieve serialized variables in cookies.

It can take an array of values and store its serialized representation in a cookie. It can also unserialized a cookie value to retrieve the original array.

The class can also handle cookies with non-serialized values, as well destroy cookies by setting their expiry date to the past.

This class can also handle switching between non-serialized cookies and serialized cookies.

Picture of Jason Reed
Name: Jason Reed <contact>
Classes: 1 package by
Country: Germany Germany
Age: 42
All time rank: 128182 in Germany Germany
Week rank: 1555 Down79 in Germany Germany Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file cookie.class.php Class Serialized Cookie Handler
Plain text file cookie_class_readme.txt Doc. How to use this class

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,153All time:1,707
 This week:0This week:1,384Up
User Ratings User Comments (2)  
 All time
Utility:94%StarStarStarStarStar
Consistency:69%StarStarStarStar
Documentation:47%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:988
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar
There is an error on the method ReadCookie.
6 years ago (felipe lima)
42%StarStarStar