Re: Session and Multi Server Architecture
| From: | Richard Lynch | Date: | Thu, 14 Feb 2008 13:13:14 +0000 |
| Subject: | Re: Session and Multi Server Architecture | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269291@lists.php.net to get a copy of this message | ||
On Mon, February 11, 2008 1:53 pm, Per Jessen wrote:
> Paul Scott wrote:
>
>> Either that or in a db, but if you are already in clustering, you
>> probably have a memcached instance already right?
>
> Am I right in thinking that memcached will replicate session
> information
> across a cluster, and that your application is only safe as long as
> you
> stick _all_ session-related info in $_SESSION?
Yes and yes...
Tho I suppose you might have some "extra" info in the replicated DB
about the user that would not be crucial to be up-to-the-second
accurate that could be considered part of your "session" data...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?