RE: [PHP-WIN] session_start(): cannot send session
| From: | Wu, Jin Yong | Date: | Sun, 08 May 2005 02:00:45 +0000 |
| Subject: | RE: [PHP-WIN] session_start(): cannot send session | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25979@lists.php.net to get a copy of this message | ||
This warning means that there are some output contents before calling
session_start().
Make sure there is no any empty line or any other unvisible character.
if neccessay you can open the file by binary format and check it.
Yong from China 2005/5/8
-----Original Message-----
From: S.F. Alim [mailto:salim@vodatel.com]
Sent: Saturday, May 07, 2005 23:08 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] session_start(): cannot send session
Hi list,
Im using the following:
Win2k SP4
Apache 1.3.3
PHP 4.3.5
my index.php file has only one line and that is
<?php session_start() ?>
Problem im facing is following:
*****************
Warning: session_start(): Cannot send session cookie - headers already
sent by (output started at d:\website\address_book\index.php:1) in
d:\website\address_book\index.php on line 1
Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at d:\website\address_book\index.php:1) in
d:\website\address_book\index.php on line 1
*****************
I google a lot and I did found some solution but they didn’t work for
me.
I need help asap
Thanx in advance
salim