Session Variable: IntroductionTag: session, variable Category: PHP Basicpost: 08 Mar 2008 read: 250 Session Variable Step By Step Tutorial - Part 1: Variable session is a global variable that is to be made at the time of the session started. To start the session, you can do it by using session_start() function explicitly or using session_register() function implicitly. For further information, you can see the example beneath: Create first page like this (file named ses01.php)
Then, create a file named ses01.php:
Run the ses01.php program, click 'Next>>>' then this program goes to ses02.php and the result is:
| ||
| | Give Your Opinion | Recommend |
|

