Re: [PHP] php session not persisting

2003-06-04 Thread Eric D.
t;"; > > > > -Original Message- > > From: Eric D. [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 03, 2003 3:01 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] php session not persisting > > > > > > Thanks Kirk! I have all o

RE: [PHP] php session not persisting

2003-06-04 Thread Johnson, Kirk
; -Original Message- > From: Eric D. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2003 3:01 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] php session not persisting > > > Thanks Kirk! I have all of the conditions you set out met. > And still doesn

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"

Re: [PHP] php session not persisting

2003-06-04 Thread Jason Wong
On Wednesday 04 June 2003 04:08, Eric D. wrote: > Thanks. I'm using PHP-4.3.1. That's good, so again ... > > If you're using PHP > 4.1.0 then you ought to be using $_SESSION for all > > your session needs -- see manual for examples. Reiterate, read: manual > Session handling functions > The pro

RE: [PHP] php session not persisting

2003-06-04 Thread Johnson, Kirk
> Thanks. I'm using PHP-4.3.1. > > The problem is not with $_SESSION. I used > session_is_registered("sess_var"); > to check from the second script and cannot see the > variable("sess_var"). Can > anyone tell me why? Your code should work for register_globals "on". Check that: - php.ini is whe

[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.
Thanks. I'm using PHP-4.3.1. The problem is not with $_SESSION. I used session_is_registered("sess_var"); to check from the second script and cannot see the variable("sess_var"). Can anyone tell me why? page1.php: "; ?> Next page page2.php: "; } else {echo "false";} echo "sess_var = $_

RE: [PHP] php session not persisting

2003-06-03 Thread Ed Gorski
] Subject: Re: [PHP] php session not persisting On Tuesday 03 June 2003 12:28, Eric D. wrote: > 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 "re

Re: [PHP] php session not persisting

2003-06-03 Thread Jason Wong
On Tuesday 03 June 2003 12:28, Eric D. wrote: > 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". It's best to sta

[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