On Tuesday, March 19, 2002, at 02:56  PM, karthikeyan wrote:

> What does this error means
> -----------------
> Warning: Cannot send session cookie - headers already sent by (output
> started at /home/web/public_html/karthik1.php:7) in
> /home/web/public_html/karthik1.php on line 35
> Warning: Cannot send session cache limiter - headers already sent
> (output started at /home/web/public_html/karthik1.php:7) in
> /home/web/public_html/karthik1.php on line 35

Are you trying to start a session after the headers have already been 
sent?  Usually this happens on accident if you have some HTML whitespace 
being sent on accident (an extra line in an .inc file, or an extra line 
before the <?php at the top of the page...).  Make sure your 
session_start() function is before any HTML output, whitespace or no.



Erik Price
Web Developer Temp
Media Lab, H.H. Brown

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

Reply via email to