![]() |
|
|
+ Search |
![]()
|
Oct 9th, 2006 10:23
Matthew Wilkinson, rahul rohilla, http://php.net/session
You need to add session_start() at the beginning of your script. You can then set and retrieve session values by using the $_SESSION array. Any variables in the $_SESSION array at the end of the script are stored in the session. In the next script, just use $_SESSION['something'] to access whatever you stored in that key.