Re: [PHP] Session variables not working

2004-05-15 Thread Andrew Wood
If a page accesses the session variables does it need to explicity reset them as well because it would appear that an intermediate PHP script which also reads the 2 variables is destroying the session for no apparent reason On 14 May 2004, at 22:11, Brad Pauly wrote: On Fri, 2004-05-14 at 14:4

Re: [PHP] Session variables not working

2004-05-14 Thread Andrew Wood
Either typing the URL directly or by using a hyperlink. On 14 May 2004, at 22:09, John W. Holmes wrote: From: "Andrew Wood" <[EMAIL PROTECTED]> Using a cookie which is shown in my browser as PHPSESSID Yes they're on the same domain but no there's nothing being passed accross the URL. Should th

Re: [PHP] Session variables not working

2004-05-14 Thread Brad Pauly
On Fri, 2004-05-14 at 14:48, Andrew Wood wrote: > I'm trying to set the following two vars on one page then read their > values on another like this: > > page1.php... > > ob_start(); > session_start(); > $_SESSION['member_id'] = $member_id; > $_SESSION['password'] = $password; > ob_end_flush

Re: [PHP] Session variables not working

2004-05-14 Thread John W. Holmes
From: "Andrew Wood" <[EMAIL PROTECTED]> > Using a cookie which is shown in my browser as PHPSESSID > > Yes they're on the same domain but no there's nothing being passed > accross the URL. Should there be? No, not normally. How are you getting from page 1 to page 2? > page1.php... > > ob_start(

Re: [PHP] Session variables not working

2004-05-14 Thread Andrew Wood
Using a cookie which is shown in my browser as PHPSESSID Yes they're on the same domain but no there's nothing being passed accross the URL. Should there be? AW On 14 May 2004, at 21:59, John W. Holmes wrote: - Original Message - From: "Andrew Wood" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [PHP] Session variables not working

2004-05-14 Thread John W. Holmes
- Original Message - From: "Andrew Wood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 14, 2004 4:48 PM Subject: [PHP] Session variables not working > I'm trying to set the following two vars on one page then read their > values on another like this: [snip] > But on page