Re: [PHP] session variables in OOP....

2002-06-14 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then W. Enserink declared > Nick: thx for the tip, it removed the error, and might further be a good > idea: except: > do you know if I can declare session variables and use them in between the > output buffer statements > like this: (i tri

Re: [PHP] session variables in OOP....

2002-06-14 Thread 1LT John W. Holmes
If you want to do it right, don' t output anything, obviously. Instead of using ECHO, assign all output to a variable within your class. Then, at the end of the processing, after everything is done, echo out that variable (which will contain the entire page). Then you can set cookies, sessions, wh

Re: [PHP] session variables in OOP....

2002-06-14 Thread W. Enserink
le"; ob_get_contents();//show the buffer ob_end_flush() ;//clear the buffer - Original Message - From: "Nick Wilson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 1:59 PM Subject: Re: [PHP]

Re: [PHP] session variables in OOP....

2002-06-14 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Wilbert Enserink declared > I hope you understand my problem and have some tips for me. Below is some code >snippets I'm using: Actually it's a little tricky to understand ;-) Have you considered output buffering? - -- Nick Wilson