note 33184 deleted from function.session-start by didou
| From: | didou@php.net | Date: | Wed, 18 Jun 2003 12:41:26 +0000 |
| Subject: | note 33184 deleted from function.session-start by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-50578@lists.php.net to get a copy of this message | ||
Note Submitter: postmastermail@postmaster.co.uk
----
I spent hours before discovering why I had that warning :
(Warning: Cannot send session cache limiter - headers already sent (output started at c:\program
files\easyphp\www\10-june\viewdiscussions.php:2) in c:\program
files\easyphp\www\10-june\accesscontrol.php on line 3)
but then I discovered why that was hapening:
1.
2.<?php
3.session_start();
4.?>
the line 1 was empty this send something to the browser before starting the session, which led to
that warning.
that empty line caused the warning.!