You are here: "Cannot send session cookie ..." I truely DON'T output ANYTHING before calling session_start() « PHP Programming Language « IT news, forums, messages
"Cannot send session cookie ..." I truely DON'T output ANYTHING before calling session_start()

Posted by juergen on 08/30/06 11:25

Hi,
there are many postings on this subject, I have read them put don't
have an answer.
I get these warnings: Cannot send session cookie - headers already sent
in,
but my php-scripts are okay.

As you can see in the code and response below, I really don't output
anything.
I am at EVANZO.

I will appreciate your help.

Juergen


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
my PHP-Code

#!/usr/bin/php
<?php
session_start();
if (!isset($_SESSION['content'])) {
$_SESSION['content']=""; $_SESSION['task']=0;
}
session_regisyoter("content");

error_reporting (E_ALL);
set_time_limit(0);

....


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
The Server Respose with telnet-command (header+body)

[root@localhost cgi-bin]# telnet www.juergengerstacker.de 80
GET /cgi-bin/get.cgi HTTP/1.1
Host: www.juergengerstacker.de


Trying 62.67.235.12...
Connected to www.juergengerstacker.de (62.67.235.12).
Escape character is '^]'.
HTTP/1.1 200 OK
Date: Wed, 30 Aug 2006 11:10:33 GMT
Server: Apache/1.3.19 (Unix) (SuSE/Linux) PHP/4.3.0
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain

bb
Warning: session_start() [http://www.php.net/function.session-start]:
Cannot send session cookie - headers already sent in
/home/www/htdocs/juergengerstacker.de/cgi-bin/get.cgi on line 3

1000

Warning: session_start() [http://www.php.net/function.session-start]:
Cannot send session cache limiter - headers already sent (output
started at /home/www/htdocs/juergengerstacker.de/cgi-bin/get.cgi:3) in
/home/www/htdocs/juergengerstacker.de/cgi-bin/get.cgi on line 3

Warning: set_time_limit() [http://www.php.net/function.set-time-limit]:
Cannot set time limit in safe mode in
/home/www/htdocs/juergengerstacker.de/cgi-bin/get.cgi on line 10

<html><head><title>
pop3-Mail: 0</title>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация