Re: SESSION PROBLEM
| From: | Erik Price | Date: | Tue, 19 Mar 2002 20:46:04 +0000 |
| Subject: | Re: SESSION PROBLEM | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89204@lists.php.net to get a copy of this message | ||
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 35Are 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 ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com