Re: Dual PHP installation and session sharing

From: Date: Mon, 20 Jul 2009 12:08:40 +0000
Subject: Re: Dual PHP installation and session sharing
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-295605@lists.php.net to get a copy of this message
Hi, Zareef. I have not tried storing session in a database, and I think it's not an option in my case, since I'm working on a legacy software that uses distributed databases across several servers. Actually, I guess it would be easier to setup a new webserver, running PHP 5 only, and discontinue the current one. But if there's a chance to share session in the actual environment, I would certainly prefer that. Thanks for the reply! 2009/7/19 Zareef Ahmed <zareef.ahmed@gmail.com> > > > On Sat, Jul 18, 2009 at 1:34 AM, Bruno Fajardo <bsfajardo@gmail.com> wrote: >> >> Hi all, >> >> I'm using Apache/2.2.3 (Linux/SUSE), running PHP 4.4.7 in CGI mode, in a >> dual installation with PHP 5.1.2 running as an Apache module. >> Scripts with .php5 extension are executed by PHP 5, and those with .php are >> executed by PHP 4, and everything runs as expected. >> My question is: is it possible to share session data between .php and .php5 >> scripts in this environment? All my tests failed. > > have you tried using database as session storage and setting session id manually in your > application. >> >> >> Thanks in advance! > > > > -- > Zareef Ahmed :: A PHP Developer in India ( Delhi ) > Homepage :: http://www.zareef.net

« previous php.general (#295605) next »