note 27768 rejected from function.session-start by betz
| From: | betz@php.net | Date: | Wed, 18 Dec 2002 11:32:10 +0000 |
| Subject: | note 27768 rejected from function.session-start by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41053@lists.php.net to get a copy of this message | ||
Hello,
I have the problem on Win2k:
In a php-script, I have the line:
session_start() ;
At the first time, I start the file, I get the error:
Warning: Cannot send session cache limiter - headers already sent (output started at
C:\EDV\helpdesk\request.php:2) in C:\EDV\helpdesk\request.php on line 6
This line 6 is the line, I wrote above !
Ok, and:
I get 2 different session-files in the C:\php\sessiondata - folder. One with the right text in it
from the page and a second one without any text in it and this second one has a filesize of 0k, the
right one with the text has 1k.
So, if I then reload the page, I get the same text in the second session-file and it has a filesize
of 1k too. And it seems, that now the second session-file is the used one in the session now, cause
it changes the filesize, the content and the date/time of the file. But the first session-file will
never be changed again.
So, why do I get 2 sesson-files ???
OS: Win2k
PHP: 4.2.1
Can anybody help me ?
Nice greetings
Klaus