Re: $_SESSION - autostart, or session_start() ?
| From: | Andrey Hristov | Date: | Wed, 17 Jul 2002 15:22:33 +0000 |
| Subject: | Re: $_SESSION - autostart, or session_start() ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108092@lists.php.net to get a copy of this message | ||
Try with output buffering.
Regards,
Andrey Hristov
----- Original Message -----
From: "Matt Babineau" <matt@criticalcode.com>
To: <php-general@lists.php.net>
Sent: Wednesday, July 17, 2002 6:20 PM
Subject: [PHP] $_SESSION - autostart, or session_start() ?
> If I set the SESSION autostart = 1 in the PHP config, would that
> eliminate my need to use session_start() in my code? I have some PHP
> inline with some HTML, and the PHP is telling me:
>
> Warning: Cannot send session cookie - headers already sent
>
> Any ideas how to remedy this?
>
> Matt Babineau
> MCWD / CCFD
> -----------------------------------------
> e: <mailto:matt@criticalcode.com> matt@criticalcode.com
> p: 603.943.4237
> w: <http://www.criticalcode.com/> @Üœ·9
> ÊA5²ƒíÐŒ£http://www.criticalcode.com
> PO BOX 601
> Manchester, NH 03105
>
>