Re[2]: [PHP] Sessions?

2007-07-26 Thread Luc
Hello brian, Thursday, July 26, 2007, 2:47:55 PM, you wrote: The way that i generally handle this is to use a class. I instantiate an object when the page loads, whether the form has been submitted or not. Tnx for the response Brian. Being a newbie i'll read your post carefully, trying to

Re[2]: [PHP] Sessions simply do not work?

2004-05-26 Thread Tom Rogers
Hi, Wednesday, May 26, 2004, 2:28:58 AM, you wrote: MRW On Tue, May 25, 2004 at 07:37:47AM +0100, Peter Risdon wrote: Michael R. Wayne wrote: In my continuing efforts to actually get sessions to work, I upgraded to PHP 4.3.6 and apache 1.3.31. This did not make the slighest difference.

Re[2]: [PHP] sessions

2004-05-23 Thread Richard Davey
Hello Jeroen, Sunday, May 23, 2004, 4:00:46 PM, you wrote: Should username have quote around it? Wouldn't it try to make it a constant otherwise? echo $_SESSION['username'] JS Unfortunately, imho, php doesn't seem to care that much in such cases ;-) JS $_SESSION[username] will have the

Re[2]: [PHP] sessions

2004-05-23 Thread Jeroen Serpieters
On Sun, 23 May 2004, Richard Davey wrote: It cares enough to raise a script Warning ;) That's true, but it should be giving an error instead of a warning imho ;-) -- Jeroen Anybody who thinks a little 9,000-line program [Java] that's distributed free and can be cloned by anyone is going

Re: Re[2]: [PHP] sessions

2004-05-23 Thread Maarten Weyn
it works back after a reboot but does anybody know how it could have happened? Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Jeroen, Sunday, May 23, 2004, 4:00:46 PM, you wrote: Should username have quote around it? Wouldn't it try to make it a constant

Re: Re[2]: [PHP] sessions

2004-05-23 Thread Curt Zirzow
* Thus wrote Maarten Weyn ([EMAIL PROTECTED]): it works back after a reboot What works how after what is booted when? Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] sessions timeout

2004-03-09 Thread Richard Davey
Hello André, Tuesday, March 9, 2004, 11:41:04 PM, you wrote: AVL But my question is, since I don't deal with cookies directly (PHP does AVL that for me), 'cause I only have to deal with sessions, how can I change AVL the cookies produced by PHP? AVL atm I only session_start() and use the

Re: Re[2]: [PHP] sessions timeout

2004-03-09 Thread André Ventura Lemos
but since the cookie stores the session id, I thought I could keep that ID and bring it back. could you show me some code, or point me to some example? Thanks On Tue, 2004-03-09 at 23:48, Richard Davey wrote: Hello André, Tuesday, March 9, 2004, 11:41:04 PM, you wrote: AVL But my

Re[2]: [PHP] Sessions 2!!!

2002-10-07 Thread Tom Rogers
Hi, Tuesday, October 8, 2002, 12:00:59 PM, you wrote: TR After the successful first login you are not saving the $_POST variables TR into the $_SESSION equivalents TR -- TR regards, TR Tom Ok after looking a little harder I found you were setting it :) Your prblem is in the lines

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

2002-06-14 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 reason

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:\program

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

Re[2]: [PHP] sessions help

2002-06-13 Thread Leston Drake
It's the 1st line after ?php in both files. At 03:09 PM 6/13/2002, you wrote: 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

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:

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: Re[2]: [PHP] sessions help

2002-06-13 Thread Kevin Stone
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. With your direction, I got rid of the warning about the headers