You are here: Re: session_start() intermittently fails on the same page, then works, then works, then fails.. « All PHP « IT news, forums, messages
Re: session_start() intermittently fails on the same page, then works, then works, then fails..

Posted by comp.lang.php on 12/11/06 05:06

Gufo Rosso wrote:
> "comp.lang.php" <phillip.s.powell@gmail.com> ha scritto nel messaggio
> news:1165596014.394396.62330@f1g2000cwa.googlegroups.com...
> > I am using session_start() on index.php and for some reason sometimes
> > it'll fail. No warnings, no errors, no notices, not even after
> > prepending error_reporting(E_ALL) and ini_set('display_errors', TRUE)
> > before session_start() do I see anything, it just plain dies.
> >
> > I used LiveHTTPHeaders to verify that I am getting a 200 OK response,
> > thus everything seems OK except that it's dying on session_start().
> >
> > Sometimes.
>
> <?php
> session_start();
> include("other_file.php");
> echo "......etc
>
> this code is good
>

and this code breaks sometimes, producing a fatal error involving the
supposed value of session.save_handler, which in php.ini is "files" but
it thinks it's "user" even if I set it via ini_set() to "files" anyway

> <?php
> include("session_start.php");
> this code is NOT found correctly

Why would I write that, that is obviously wrong

 

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

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