Re: Warning when calling session_start()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 21, 2010 at 9:27 PM,  <webdev@xxxxxxxxxxxxx> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux