You are here: Re: how do I fix this " Warning: session_start(): Cannot send session cache limiter" « PHP Programming Language « IT news, forums, messages
Re: how do I fix this " Warning: session_start(): Cannot send session cache limiter"

Posted by lawrence k on 06/24/06 23:47

Gordon Burditt wrote:
> >> >But as I said earlier in the thread, PHP is giving me bum messages that
> >> >offer no illumination.
> >>
> >> They are telling you where the problem is. White space is a common,
> >> and difficult to find, but not the only cause of headers being sent.
> >
> >I think you are right, they are telling me where the problem is. I now
> >suspect the error was being triggered when this class method (which
> >sends a charset header) was called:
>
> The combination of header(), which sends a header,
> and ob_end_flush(), which forces the output, means you can't
> call session_start() after this function gets called.

Thanks much. I think you found the problem. My understanding of headers
is shamefully weak. if I wanted to read up on how the headers work,
would I read up on the http protocol or the IP protocol? I'm afraid
right now I'm not even sure what category of information it is that I'm
lacking.

 

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

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