You are here: Re: sessions « PHP Programming Language « IT news, forums, messages
Re: sessions

Posted by Erik on 11/22/05 18:26

Erik wrote:

> Hi All,
>
> I'm writing an web application with PHP/MySQL. I used PHP5 but believed
> to use code that would work also under PHP4. However when I tried my
> application under PHP4 I got the warning that the headers are already
> sent and my session did not work. I do understand that I have to send
> the headers before anything else. But does anyone know what kind of
> difference between PHP4 and PHP5 makes it possible for sessions to work
> under PHP5 and not under PHP4. Or does anyone know a link to this
> information?
>
> Thanks in advance,
> Erik

As always after finally asking the question in a newsgroup you'll find
the answer. The difference was not between PHP4 and PHP5 but a setting
in the ini file:
output_buffering = Off
versus
output_buffering = 4096

Erik

 

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

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