This class is an independent manager user access sessions storing the session data in a MySQL database table. It features:
- Creating sessions that expire after a given period of inactivity.
- Store and retrieve any number of session variables
- Verify the existence of a valid session
- Force deleting sessions
- Retrieve the number of active users that have accessed the site in recent period of specified duration
With the popularity of AJAX and Web2.0, I must certainly not be the first, or last person whatsoever, who has got troubles handling PHP Sessions and Ajax at once...