PHP Classes

Cookie Handler Class: Store and retrieve serialized variables in cookies

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 2,178 This week: 1All time: 1,795 This week: 560Up
Version License Categories
cookie_class 1.0GNU General Publi...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: 52
All time rank: 140387 in Germany Germany
Week rank: 416 Up16 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,178
This week:1
All time:1,795
This week:560Up
User Ratings User Comments (2)
 All time
Utility:95%StarStarStarStarStar
Consistency:72%StarStarStarStar
Documentation:52%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1182
 
Excellent
14 years ago (kishore kumar)
70%StarStarStarStar
There is an error on the method ReadCookie.
15 years ago (felipe lima)
42%StarStarStar