PHP Classes

Cookie Handler Class: Store and retrieve serialized variables in cookies

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 2,178 All time: 1,796 This week: 673Up
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

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,178
This week:0
All time:1,796
This week:673Up
User Ratings User Comments (2)
 All time
Utility:95%StarStarStarStarStar
Consistency:72%StarStarStarStar
Documentation:52%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1199
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar
There is an error on the method ReadCookie.
16 years ago (felipe lima)
42%StarStarStar