Login   Register  
PHP Classes
elePHPant
Icontem

Class: Cookie session

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Logan Dugenoux  >  Cookie session  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Cookie session
Base name: cookiesession
Description: Store session variables in a cookie when user away
Related classes: , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3515 users
All time rank: 764
Week users: 3 users
Week rank: 1216
Picture of Logan Dugenoux
Author: Logan Dugenoux <e-mail contact>
Packages: 6 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Age: ???
All time rank: 696 in France France
Week rank: 171 Down9 in France France Down


  Detailed description  
This class stores session variables in a persistent cookie, so when the user returns to the site after the session has expired, the session variables may be reloaded from the cookie, as if the continues the navigating in the site using the same session.

For instance, if you use a session to store information about the data that a user entered on your site, for example items in a shopping cart, it may be important to not loose this data. So the shopping cart information is stored also in a cookie. If there is a problem on the site or on the client 's browser, when user returns, he may resume shopping where he left.

 

  Groups  
Group folder image User Management User records, authentication and session handling View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (80.6%)
Sufficient (75.0%)
-
Good (80.6%)
-
-
Not sure (55.8%)
1086
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.

  Related links  
Link Description
My WebPage homepage of Logan Dugenoux
PHP.net > sessions Official documentation on sessions

  Files folder image Files  
File Role Description
Plain text file cookieSession.php Class main class file
Plain text file example.php Example Example of use of the class

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