Sessions and redundant servers
| From: | Daniel Baldoni | Date: | Thu, 05 Jul 2001 19:35:43 +0000 |
| Subject: | Sessions and redundant servers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-56370@lists.php.net to get a copy of this message | ||
G'day folks,
Here's a theoretical question for those of you using PHP's inbuilt session
facilities...
How do you "keep" your variables across redundant servers? Or,
isn't anybody out there hosting PHP-based services on grouped
servers?
My question may reflect a lack of understanding on just how PHP's sessions
work, but (bear with me a moment) I thought that session variables were
simply stored in a local file-store (default: /tmp).
Are people using NFS-shared directories, rsync (or some other method of
keeping such areas synchronised), or are all "redundant" sites using
home-grown session handling?
Ciao.
--
-------------------------------------------------------+---------------------
Daniel Baldoni BAppSc, PGradDipCompSci | Technical Director
require 'std/disclaimer.pl' | LcdS Pty. Ltd.
-------------------------------------------------------+ 856B Canning Hwy
Phone/FAX: +61-8-9364-8171 | Applecross
Mobile: 041-888-9794 | WA 6153
URL: http://www.lcds.com.au/ |
Australia
-------------------------------------------------------+---------------------
"Any time there's something so ridiculous that no rational systems programmer
would even consider trying it, they send for me."; paraphrased from "King Of
The Murgos" by David Eddings. (I'm not good, just crazy)