PHP Sessions

Prevent Duplicate Form Submission

Learn how to use PHP sessions to prevent duplicate form submission or re-submission.

PHP MySQL Login Script

Login and user authentication is the most common feature in any dynamic website. Read this article to learn how to develop a login module of your own.

Common PHP session errors

Common PHP session errors

Lists some of the common problems faced while using sessions in PHP and how to deal with them.

Getting started with PHP sessions

HTTP is a stateless protocol. That is, a HTTP request to a website has no information or record of the preceding requests. This is where sessions come into picture. Sessions is a mechanism to preserve data across subsequent accesses. Using sessions, a website is able to maintain state, that is, remember which requests they received previously. Without sessions, websites would have not have progressed beyond simple static HTML pages.