Re: Warning when calling session_start()
| From: | Michael Shadle | Date: | Wed, 22 Dec 2010 05:35:17 +0000 |
| Subject: | Re: Warning when calling session_start() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310212@lists.php.net to get a copy of this message | ||
On Tue, Dec 21, 2010 at 9:27 PM, <webdev@blaettner.com> wrote:
> Warning: session_start() [function.session-start]:
> Cannot send session cache limiter - headers already
> sent (output started at /...../sess.php:3) in
> /...../sess.php on line 5
first - this is probably your culprit:
don't output empty lines before you do anything (just a general good practice)
also i'd turn on output buffering.