Re: [PHP4BETA] session_start() and headers
| From: | Roberto Diaz | Date: | Wed, 01 Dec 1999 06:28:00 +0000 |
| Subject: | Re: [PHP4BETA] session_start() and headers | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7155@lists.php.net to get a copy of this message | ||
I forgot I always start the script with:
session_start(); // before sending any html ouput.
> > if(!isset($servinfoSession)){
> > $servinfoSession = new servinfoSession();
> > // since still an object **can not register itself**.##############
> > session_register("servinfoSession");
> > // ########################################################
> > $servinfoSession->currentPage->printout(); // this outputs html
> > exit();
> > }
> >
> > Thank you very much
>
> You are outputting HTML before you call the session() functions. Check
> to make sure no <html> tags are being sent before the actual call, or
> turn output buffering on.
This is an unknown feature for me... so we can have a buffer? I will check
php.ini..... How it works?
Thank you very much
Roberto