Login   Register  
PHP Classes
elePHPant
Icontem

Class: Cookie preferences

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ken Stanley  >  Cookie preferences  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Cookie preferences
Base name: cookie_preferences
Description: Manage site user preferences stored in cookies
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1297 users
All time rank: 2465
Week users: 1 user
Week rank: 2467
Picture of Ken Stanley
Author: Ken Stanley <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: 34
All time rank: 1179162 in United States United States
Week rank: 1634 Down206 in United States United States Down


  Detailed description  
This class is meant to store and retrieve preference values of an user of a site using cookies.

It can be used to store any kind of site user access context value, not only site usage preferences, but also other things like items added by an anonymous user to a shopping cart.

The preferences values are stored in an obfuscated format using the ROT12 algorithm to make it a little more difficult for curious users to understand what is being stored.

If a preference can not be stored or retrieve, eventually because the user browser is not accepting cookies, the class will just output a PHP Notice, which can be turned on or off in your app by using PHP error reporting control functions.

 

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (75.0%)
Good (87.5%)
Sufficient (75.0%)
-
-
-
Not sure (53.8%)
1236
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 folder image Files  
File Role Description
Plain text file cookie_preferences.inc Class The PHP class for cookie_preferences
Plain text file README.cookie_preferences Doc. Documentation with examples on how to use cookie_preferences

Download all files: cookie_preferences.tar.gz cookie_preferences.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.