Re: sessions help
| From: | Justin French | Date: | Fri, 18 Jul 2003 00:53:49 +0000 |
| Subject: | Re: sessions help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155707@lists.php.net to get a copy of this message | ||
You called session_start() too far down the page... and by that time, you had already outputted something (text, html, or even just blank lines) to the browser.
1. rearrange you code so that session_start() is as close to the top as possible
2. implement output buffering
Justin
On Friday, July 18, 2003, at 10:09 AM, Dante O. Cabrera H. wrote:
I m working whit session's and I had this error : Warning: Cannot send session cache limiter - headers already sent (output started at /home/web/validacion.php:8) in /home/web/validacion.php on line 47 Warning: Cannot add header information - headers already sent by (output started at /home/web/validacion.php:8) in /home/web/validacion.php on line 51 can you iluminate to me ===== _________________________________________________________________ Atte. Dante Omar Cabrera Heredia Telf: 97189724 _________________________________________________________________ ___________________________________________________ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- [This E-mail scanned for viruses]