Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Sascha Schumann
> Our own experience is that the PHP method to define custom session > handlers is broken - > 'write' doesn't work. At least in earlier versions (4.0.0, 4.0.1, for > sure). It is more likely that your method of testing it is broken. "echo 'The write handler was called'" does not produce

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Michael Kimsal
Daniel Baldoni wrote: >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 q

RE: [PHP] Sessions and redundant servers

2001-07-05 Thread Johnson, Kirk
> Unfortunately, I don't think there's a *good* solution to the > "distributed > server vs. session" problem which doesn't use a replicated database. > Because there's no guarantee of NFS writes being successful (or reads > either, depending on where a problem may arise) and rsync must be > perio

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Sascha Schumann
> Thoughts from anybody else out there? NFSv3 maintains state and also has file locking built-in, something which was not handled quite gracefully by NFSv2 (debugging interaction between various system's rpc.lockds is not much fun). You might want to look into that. - Sascha

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Daniel Baldoni
G'day, >> Considering NFS is stateless, why do you consider it to be a more acceptable >> solution to, say, rsync (which I personally don't like - but that's another >> matter)? > > Ok, sorry, I should have explained my reasoning. > > Afaik rsync executes periodically to synchronize files betwe

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread lists
On Fri, 6 Jul 2001, Daniel Baldoni wrote: > Considering NFS is stateless, why do you consider it to be a more acceptable > solution to, say, rsync (which I personally don't like - but that's another > matter)? Ok, sorry, I should have explained my reasoning. Afaik rsync executes periodically to

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Daniel Baldoni
G'day again everybody, >> 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? > > You are r

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread lists
On Fri, 6 Jul 2001, Daniel Baldoni wrote: > 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 >

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread infoz
The load-balanced cluster implementations I've worked with define a PHP session handler that uses a database to store session data, and so it doesn't matter which web server a particular session comes from, the data is stored in a centralized place. - Tim http://www.phptemplates.org > How do y

[PHP] Sessions and redundant servers

2001-07-05 Thread Daniel Baldoni
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