Date: 07/17/02
- Next message: Phil Schwarzmann: "[PHP] Queries - Sometimes I need to use apostrophe, other times i don't"
- Previous message: Matt Babineau: "[PHP] $_SESSION - autostart, or session_start() ?"
- In reply to: Matt Babineau: "[PHP] $_SESSION - autostart, or session_start() ?"
- Next in thread: Martin Clifford: "Re: [PHP] $_SESSION - autostart, or session_start() ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Try with output buffering.
Regards,
Andrey Hristov
----- Original Message -----
From: "Matt Babineau" <matt <email protected>>
To: <php-general <email protected>>
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 <email protected>> matt <email protected>
> p: 603.943.4237
> w: <http://www.criticalcode.com/> http://www.criticalcode.com
> PO BOX 601
> Manchester, NH 03105
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Phil Schwarzmann: "[PHP] Queries - Sometimes I need to use apostrophe, other times i don't"
- Previous message: Matt Babineau: "[PHP] $_SESSION - autostart, or session_start() ?"
- In reply to: Matt Babineau: "[PHP] $_SESSION - autostart, or session_start() ?"
- Next in thread: Martin Clifford: "Re: [PHP] $_SESSION - autostart, or session_start() ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

