PHP sessions on different hosts - *urgent*

From: Date: Wed, 12 Jul 2000 13:44:05 +0000
Subject: PHP sessions on different hosts - *urgent*
Groups: php.general 
Request: Send a blank email to php-general+get-6140@lists.php.net to get a copy of this message
Hi, We have a site that's using php 4 and sessions. We have two hosts: one with SSL that holds files that need to be secure (like user registrations, credit card buy informations, etc) and one other, normal, that holds normal files. The problem is the following: when we load the first web page the session is created (these files are on the normal server), but when we click on one link that calls a file that is on the SSL server, our login form reapears like if the user never got to login in the first and the session was never created. Obviously, what's happening here is that the information session is being lost when we are switching files that are on the different holes. Is there a way to make both servers go search in the same place for the session information? (both servers are networked together and both can access each others resources). This one is really urgent, since we have a dead line to keep and we didn't expected this problem to come up. We would be very grateful for any help provided. Best regards, Pedro Fonseca /** * home: pedro.fon@mail.telepac.pt * work: pedro.fonseca@adetti.iscte.pt * URL: http://students.iscte.pt/~a17253/aminhapagina/ * * Mobile: 96.459.835.7 * * Av. Capitão António Gomes Rocha nº8 3ºEsq. * 2745-245 QUELUZ * Portugal * **/

« previous php.general (#6140) next »