using multiple apache
| From: | Ron | Date: | Fri, 15 Aug 2008 06:39:11 +0000 |
| Subject: | using multiple apache | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-45222@lists.php.net to get a copy of this message | ||
Hi,
I'm not sure if this is the correct mailing list.
anyway, i have multiple apache servers, my pages are on php, i'm using DNS SRV, so that at least it's up even when one goes down.
my prob is, user are logging in on my site and i am using their username as a session variable to manage things on their portal, but sometimes when they they login on server 1, because of dns srv, they sometimes browse server 2 while they are logged in on server 1. so when they are on server 2 the session variables are lost already.
both apache are talking to a single mysql cluster, if i save my session on the db, would it prevent the session variable to get lost when a user 1 brose from server 1 o server 2 or vice versa?
thank you
regards,
ron