Re: Re[2]: [PHP] sessions help

2002-06-13 Thread Miguel Cruz
On Thu, 13 Jun 2002, Kevin Stone wrote: > Your problem is here.. > > return ($_SESSION['node'] = $node_id); > > I do not believe that you can both set and return a varaible on the same > line. FYI, the variable which you're returning in this function is global.. > so there's no

Re: Re[2]: [PHP] sessions help

2002-06-13 Thread Kevin Stone
y. Just fill the index and you're all set. -Kevin - Original Message - From: "Leston Drake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 3:32 PM Subject: Re[2]: [PHP] sessions help > Thanks to Julie and Stuart for helping me. &g

Re[2]: [PHP] sessions help

2002-06-13 Thread Leston Drake
At 03:32 PM 6/13/2002, you wrote: >Thanks to Julie and Stuart for helping me. > >With your direction, I got rid of the warning about the headers by putting >the session_start() at the beginning of the file. > >Now I get a different sort of error when I try to retrive the session >variable: >

Re[2]: [PHP] sessions help

2002-06-13 Thread Leston Drake
Thanks to Julie and Stuart for helping me. With your direction, I got rid of the warning about the headers by putting the session_start() at the beginning of the file. Now I get a different sort of error when I try to retrive the session variable: --- Warning: Undefi

Re[2]: [PHP] sessions help

2002-06-13 Thread Leston Drake
It's the 1st line after LD> I just tried adding session_start() to the beginning of both files. >When I >LD> load Doc 1, I get this warning twice(!): > >LD> Warning: Cannot send session cache limiter - headers already sent (output >LD> started at c:\program files\apache >group\apache\htdocs\wan\

Re[2]: [PHP] sessions help

2002-06-13 Thread Stuart Dallas
On Thursday, June 13, 2002 at 10:04:05 PM, you wrote: > I just tried adding session_start() to the beginning of both files. When I > load Doc 1, I get this warning twice(!): > Warning: Cannot send session cache limiter - headers already sent (output > started at c:\program files\apache group\a

Re[2]: [PHP] sessions help

2002-06-13 Thread Julie Meloni
LD> I just tried adding session_start() to the beginning of both files. When I LD> load Doc 1, I get this warning twice(!): LD> Warning: Cannot send session cache limiter - headers already sent (output LD> started at c:\program files\apache group\apache\htdocs\wan\sessions.php:7) LD> in c:\pro