A PHP session is a particular set of server-side variables in a web application which allow that application to store user data. Unlike the process of storing such information in a database, PHP sessions are stored only for a limited time, either until the application actively closes the session or until the user exits the application. Obviously, using a session requires taking this time-limited nature into account, but they can be very useful for maintaining user information across links or pages (for instance, in a shopping cart application). (Read more…)
Using PHP Sessions to Store User Info
February 2, 2012 ~ Uncategorized ~ No Comments