Login   Register  
PHP Classes
elePHPant
Icontem

Cookie session: Store session variables in a cookie when user away

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-11-02 (11 years ago) RSS 2.0 feedStarStarStar 55%Total: 3,863 All time: 761 This week: 830Down
Version License Categories  
cookiesession 1.0GNU General Public Lice...User Management
Description Author  

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.

Picture of Logan Dugenoux
Name: Logan Dugenoux <contact>
Classes: 6 packages by
Country: France France
Age: ???
All time rank: 725 in France France
Week rank: 679 Down26 in France France Down

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,863All time:761
 This week:0This week:830Down
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1192