Re: [PHP4BETA] PHP4 and JServ session_start problem (more info)
| From: | Stefano Bagnara | Date: | Wed, 19 Jan 2000 11:50:41 +0000 |
| Subject: | Re: [PHP4BETA] PHP4 and JServ session_start problem (more info) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9283@lists.php.net to get a copy of this message | ||
i got the same bug but i don't have installed the mod_jserv
i got an apache.conf with 20 virtual hosts .. if i leave only the
virtual host that i'm debugging then sessions works... but
with all of my virtual hosts session file is not written.
so i added this at the end of my pages::
function session_save() {
$fp=fopen("/tmp/sess_".session_id(), "w");
fputs($fp, session_encode());
fclose($fp);
}
and it works fine.
- stefano bagnara (data sail s.r.l.) [bago.org]
----- Original Message -----
From: "Kevin Hardy" <kevin_hardy@imagebuilder.com>
To: <php4beta@lists.php.net>
Sent: Wednesday, January 19, 2000 1:32 AM
Subject: [PHP4BETA] PHP4 and JServ session_start problem (more info)
> After installing mod_jserv seems to have broken session_start() in PHP4.
> Basically PHP is writing the session file, however it is empty. After
> recreating a session file it appears that it is correctly setting the
> cookie in the browser and reading the session file correctly.
>
> Ideas (please)?
> -------------------------------------------------------------
> Kevin Hardy - Internet Architect - Imagebuilder Software
> kevin_hardy@imagebuilder.com - www.imagebuilder.com
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>