Re: [PHP] Cannot Get Session Variables nor Global variables to work

2004-05-21 Thread Jordi Canals
You need to place session_start() at the top of test2.php. If you use session_start, you should not use using session_register(), just use $_SESSION. From Manual: "If you are using $_SESSION and disable register_globals, do not use session_register(), session_is_registered() and session_unregis

[PHP] Cannot Get Session Variables nor Global variables to work

2004-05-21 Thread Joe Carr
Help. I am missing a MAJOR aspect of using either Session variables or global variables. I am trying to set one variable on one page, and read it on the other _without_ sending any information in the query string. Here is the code for the two pages : test1.php : step 2 and test2.php looks like t