![]() |
|
|
+ Search |
![]()
|
Feb 23rd, 2002 11:03
Philip Olson, Nathan Wallace, Soren Staun-Pedersen
1. PHP4 has native session functions, see: http://www.php.net/sessions 2. session_start(); before anything else on all your pages. (This can be done via a feature in php.ini to always start sessions) http://www.php.net/session_start 3. $foo = "i want to remember this"; session_register("foo"); http://www.php.net/session_register $foo is now remembered on all your pages, and can be referred to in all your functions via global $foo; For basic session tutorials, read this faqt: http://www.faqts.com/knowledge_base/view.phtml/aid/6621/fid/8