Login   Register  
PHP Classes
elePHPant
Icontem

clsCookie: Pass values between pages using encrypted 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 (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-12-11 (10 years ago) RSS 2.0 feedStarStarStar 51%Total: 2,798 This week: 2All time: 1,243 This week: 817Up
Version License Categories  
clscookie 1.0.0Public DomainHTTP, PHP 5, Cryptography, Security
Description Author  

This class is meant to pass multiple values between pages using encrypted cookies.

It can:

- Create a cookie object in memory
- Load the values of a cookie sent back by the browser into the cookie object in memory
- Assign multiple values to the cookie object in memory. Multiple cookie values are sent to the browser at once with names with array syntax.
- Cookie values can be removed from the cookie object in memory and from the browser
- Encryption with Blowfish-CBC algorithm can be used to encrypt all the cookie values sent to the browser. A secret server side encryption key can be used for different cookies objects.
- Assigning values to the cookie object in memory can be done just by creating up a new object property and assign a value to it, taking advantage of PHP5 dynamic object variable assignment __get and __set methods

Picture of Ronald Zeus
Name: Ronald Zeus <contact>
Classes: 2 packages by
Country: The Netherlands The Netherlands
Age: 41
All time rank: 35911 in The Netherlands The Netherlands
Week rank: 751 Down22 in The Netherlands The Netherlands Down

  Files folder image Files  
File Role Description
Plain text file class.cookie.config.php Conf. a config file
Accessible without login HTML file class.cookie.documentation.html Doc. the class documentation
Plain text file class.cookie.example.next.php Example second page example
Accessible without login Plain text file class.cookie.example.php Example an example script
Plain text file class.cookie.interface.php Class an interface file with detailed documentation
Plain text file class.cookie.php Class the PHP5 class source
Accessible without login Plain text file class.cookie.release.txt Data the release notes (including legal notes)

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,798All time:1,243
 This week:2This week:817Up
User Ratings User Comments (2)  
 All time
Utility:62%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:65%StarStarStarStar
Examples:57%StarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:1557
 
Excellent
5 years ago (kishore kumar)
75%StarStarStarStar
this class doesn't work correctly
5 years ago (carrucola)
25%StarStar