A PHP session allows you to store user information on a server for later use. However, session information is temporary and will be deleted after the user has left a website. Sessions work by creating a unique ID (UID) for each visitor and storing variables based on this UID. The UID is either stored in a cookie or is propagated in the URL
« Back to Glossary Index