Cookies enabled web developers to produce more usable sites, by allowing temporary storage of commonly used information by the user. This can be beneficial in shopping carts, user logon systems and general site usage. Read on to find out how to use cookies and how to implement a simple user logon system.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
To begin this tutorial in PHP sessions, you must first make sure that your web server (ie. apache) has the options to allow session with the configuration. Note: people using apache and php under a win32 enviorment must manually configure this option.
To start, this tutorial, you should have some basic knowledge of php coding. Refer to Hotscripts for some basic and more advanced php coding tricks.