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:[EMAIL PROTECTED]
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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to