Showing posts with label Session ID. Show all posts
Showing posts with label Session ID. Show all posts

Monday, August 6, 2012

Tutorial of Session

Session Class

The session class allows you to maintain a user's state as they browse your website. The session Class stores data inside a cookie, which can optionally be encrypted. You are able to store data inside a database for added security, as this means that the user's cookie must match the database record.

What is stored in a session?

-> the user's unique Session ID
-> The user's IP address
-> The user's User Agent string
-> The "last activity timestamp"