Changes

Jump to: navigation, search

Understanding PHP Sessions

1 byte added, 20:10, 7 June 2007
no edit summary
== Creating and Reading PHP Session Variables ==
Variables can be assigned to a session using the $_SESSION array. This is a global array that is accessible to all the pages on your web site. The This is also an associative array (see [[PHP Arrays]] for details of using arrays in PHP) and as such it is possible to access array elements using the variable name as an index.
Session variables can be any type of data such as strings, numbers, arrays and objects.

Navigation menu