Re: [PHP] php session not persisting

2003-06-04 Thread Eric D.
your error reporting to E_ALL, to see if anything else is going on. > > Add this line right after session_start() in both files, to make sure the > session ID is getting passed correctly. The same ID should be displayed in > both files: > > echo "ID = " . session_id() . &quo

Re: [PHP] php session not persisting

2003-06-04 Thread Eric D.
Thanks Kirk! I have all of the conditions you set out met. And still doesn't work. I also added session__is_registered("sess_var") to check and it tells me that it's not registered. 1st script - page1.php: "; //echos fine here ?> Next page 2nd script - page2.php: ";} else {echo "false"

Re: [PHP] php session not persisting

2003-06-04 Thread Eric D.
Thanks Kirk! I have all of the conditions you set out met. And still doesn't work. I also added session__is_registered("sess_var") to check and it tells me that it's not registered. 1st script - page1.php: "; //echos fine here ?> Next page 2nd script - page2.php: ";} else {echo "false"

[PHP] php session not persisting from page to page

2003-06-04 Thread Eric D.
Hi, I have two very simple php scripts and the second srcipt is not seeing the variables session_registered by the first script. I'm running PHP-4.3.1. And have both "register_globals" and "track_vars" set to "ON". Well, the first script prints out the session var fine, but not the second one. As

Re: [PHP] php session not persisting

2003-06-04 Thread Eric D.
{echo "false";} echo "sess_var = $_SESSION[sess_var]"; echo "The content of \$sess_var is $sess_var"; // session_unregister("sess_var"); ?> "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tuesday

[PHP] php session not persisting

2003-06-03 Thread Eric D.
Hi, I have two very simple php scripts and the second srcipt is not seeing the variables session_registered by the first script. I'm running the latest version of php. And have both "register_globals" and "track_vars" set to "ON". Well, the first script prints out the session var fine, but not th

[PHP] session not persisting

2003-06-03 Thread Eric D.
Hi, I have two very simple php scripts and the second srcipt is not seeing the variables session_registered by the first script. I'm running the latest version of php. And have both "register_globals" and "track_vars" set to "ON". Well, the first script prints out the session var fine, but not th