Cookie Objects Class: Store and retrieve composite data items in cookies

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 2,460 All time: 1,559 This week: 516Up
Version License Categories
cookieobjectsclass 1.0.0GNU General Publi...HTTP, PHP 5
Description Author

This class was designed to store and retrieve objects made of composite data items of a custom type in cookies. The information is stored like a bidimensional array of n objects of m items.

This classe can be used in applications based on shopping carts.

The class provides means to:

- Add new objects
- Add new items to each object
- Store all objects information in a cookie
- Test if a cookie was previously stored
- Retrieve the objects information from a cookie
- Delete an object from the list of objects
- Remove cookies

In Spanish:

Esta clase esta diseñada para alojar objetos de un determinado tipo en una cookie, cada objeto tiene la posibilidad de alojar un item. Esto lo podríamos visualizar como la creación de una matriz n x m.

Las aplicaciones podrían se:

Carrito de compras

Proyectos que tengan la necesidad de almacenar datos y su utilización a lo largo de bastantes páginas.

Picture of Guillermo de Jesus Perez Chavero
Name: Guillermo de Jesus Perez ... <contact>
Classes: 1 package by
Country: Mexico Mexico
Age: 39
All time rank: 125214 in Mexico Mexico
Week rank: 523 Up8 in Mexico Mexico Up


  Files folder image Files  
File Role Description
Accessible without login Plain text file CookieObjects.php Class souce code
Plain text file GetData.php Example It receive the data to store into the cookie
Plain text file Index.php Example the main source of the example
Plain text file Languaje.css Data style sheet of the example
HTML file SendData.php Data It send the data to store into the cookie
Plain text file ViewDataI.php Example It view all data from the cookie

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,559
This week:516Up
User Ratings User Comments (1)
 All time

For more information send a message to info at phpclasses dot org.