Using Sessions in PHP
(Page 1 of 5 )
Join Hermawan in learning how to use sessions in PHP.
Building web applications with membership management is one of the most frequent tasks that every programmer does. Managing membership data, such as username, password and the member's profile with sessions in PHP is the easiest and simplest solution, although it is not the only one.
Preparation
With this tutorial, I assume you are using PHP 4.1.0 or the later. The first thing that we should know to use sessions is that you have to initialize the session.
Any script which has that line would make the script available to register a new session or read an existing session which we’ve defined on another page.
Enough of the blah blah stuff, shall we now go to the example stuff?
Next: Basic Sessions >>
More Miscellaneous Articles
More By Hermawan Haryanto