Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

Re: Zope Digest, Vol 64, Issue 7

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


jean.jordaan at gmail

Sep 13, 2009, 9:09 PM

Post #1 of 2 (634 views)
Permalink
Re: Zope Digest, Vol 64, Issue 7

Hi Nair

>       We are using a zeocluster with six clients and use pound for
> load balancing betwwen them. However I am having problems
> using session variables. I think that session variables are maintained
> separately for  each client

You're right. Either configure pound so that sessions from one browser
always goes to the same client, or mount your temporary storage in the
ZEO master.

I made a patch for the filestorage recipe to do this. For more
background and a patch, see:
https://bugs.launchpad.net/collective.buildout/+bug/427878

--
jean . .. .... //\\\oo///\\
_______________________________________________
Zope maillist - Zope[at]zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )


nair331 at gmail

Sep 14, 2009, 4:09 AM

Post #2 of 2 (560 views)
Permalink
Re: Zope Digest, Vol 64, Issue 7 [In reply to]

On Mon, Sep 14, 2009 at 9:39 AM, Jean Jordaan <jean.jordaan[at]gmail.com> wrote:
> Hi Nair
>
>>       We are using a zeocluster with six clients and use pound for
>> load balancing betwwen them. However I am having problems
>> using session variables. I think that session variables are maintained
>> separately for  each client
>
> You're right. Either configure pound so that sessions from one browser
> always goes to the same client, or mount your temporary storage in the
> ZEO master.
>
> I made a patch for the filestorage recipe to do this. For more
> background and a patch, see:
>  https://bugs.launchpad.net/collective.buildout/+bug/427878
>
> --
> jean                                              . .. .... //\\\oo///\\
>



Hi all,

The problem got solved. Just added these lines in pound.cfg.

Session

Type COOKIE

ID "__ac"

TTL 300

End


And this is the link I referred to

http://plone.org/documentation/how-to/simple-zope-clustering-with-squid-and-pound/



Thanks for the help
Rajiv Nair
_______________________________________________
Zope maillist - Zope[at]zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.