Reply to Re: error with sessions and headers being sent, yet nothing but headers have been sent

Your name:

Reply:


Posted by Andy Hassall on 06/02/05 23:36

On 2 Jun 2005 13:01:15 -0700, lkrubner@geocities.com wrote:

>I'm getting this error:
>
>Warning: session_start(): Cannot send session cache limiter - headers
>already sent in
>/home/httpd/vhosts/publicdomainsoftware.org/httpdocs/pdsIncludes/McSessionInfo.php
>on line 34
>
>This is line 33 to line 36 of that class:
>
> function startSession() {
> session_start();
> session_register();
> }
>
>Why would this generate an error?

What version of PHP are you on? Typically that error message also includes the
location that first produced the output, _as well as_ the line that failed
because headers have already been sent.

Don't know if the additional information is version specific...

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

[Back to original 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

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