Re: session_start in php 4.3.6
| From: | Bob Lockie | Date: | Fri, 21 May 2004 20:13:27 +0000 |
| Subject: | Re: session_start in php 4.3.6 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186716@lists.php.net to get a copy of this message | ||
On 05/21/04 16:08 Michael R. Wayne spoke:
On Fri, May 21, 2004 at 10:01:56PM +0200, Paul Godard wrote:Would putting an '@' in front of all session_start calls hide the problem?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.