> 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
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
> 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
> 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
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
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
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
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
>
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
9 matches
Mail list logo