| Recommend this page to a friend! |
| Author | ||
![]() |
|
Innovation award![]() Nominee: 1x | |||||||||||||||||||
| Classes of Ahmed Magdy | > | Session in Cookies | > | Download .zip .tar.gz | > | > | > | |||||
|
|||||||||||||||||||||||
| Groups | Applications | |||||||
| Groups | ||
| User Management | User records, authentication and session handling | View top rated classes |
| Innovation Award | ||
![]() December 2006 Number 2 Prize: One book of choice by O'Reilly |
By default, sessions use server side files to store and retrieve session data on each request. Storing session data in files works well for single server sites. For sites served by a cluster, it may become too slow, if possible at all. This class implements an alternative session handling solution that uses cookies to store session data. It uses encryption to preserve the integrity and privacy of the data that is stored. Despite this solution leads to a greater bandwidth usage, it is a much less complicated solution than other alternatives to make sessions work in a clustered Web server environment. Manuel Lemos |
| User ratings | ||
| Ratings | ||||||||
|---|---|---|---|---|---|---|---|---|
| All time: | ||||||||
| Month: | ||||||||
| Applications that use this class | ||
| File | Role | Description |
|---|---|---|
| Class | The cookie session class | |
| Doc. | Read me file | |
| Example | The second example script that shows the samed session data. | |
| Example | the first test file where session is set. |
| Download all files: cookie_session.tar.gz cookie_session.zip |