Re: session_start in php 4.3.6
| From: | Michael R. Wayne | Date: | Fri, 21 May 2004 20:08:49 +0000 |
| Subject: | Re: session_start in php 4.3.6 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186714@lists.php.net to get a copy of this message | ||
On Fri, May 21, 2004 at 10:01:56PM +0200, Paul Godard wrote:
> Hi
>
> All my web sites suddenly stopped working after my ISP installed the newer php 4.3.6 released.
> The problem is when calling the session_start() function. It seems that the warning message saying
> that the session has already started and that the function will be ignored makes the php script stop
> at this point although it is a warning. This worked perfectly in php 4.3.4.
>
> What should I do to be compatible with php 4.3.6?
This is because your ISP has likely set
session.auto_start = 1
in php.ini
Either have the ISP set it to 0 or remove all session_start calls
from your scripts to eliminate the warnings.
/\/\ \/\/