Re: [Webware-discuss] Memcached Session Submission

2010-04-15 Thread Christoph Zwerschke
Am 12.04.2010 00:59 schrieb Steve Schwarz: > I'd much rather the session store fail early and raise an exception if > you try to clear(). The less code in the session implementation the > safer I'd feel. Ok, I have changed that now. You can configure whether you want an error, warning or ignore t

Re: [Webware-discuss] Memcached Session Submission

2010-04-12 Thread Christoph Zwerschke
Am 12.04.2010 00:59 schrieb Steve Schwarz: > However I'm concerned by the added code/complexity required to support > clear(). In our usage of the memcached session store users are moved > between servers based on load. So if the sessions are cleared on one > appserver what mechanism is used to tri

Re: [Webware-discuss] Memcached Session Submission

2010-04-11 Thread Steve Schwarz
On Sun, Apr 11, 2010 at 4:32 PM, Steve Schwarz wrote: > On Sun, Apr 11, 2010 at 4:23 PM, Christoph Zwerschke wrote: > >> Am 15.03.2010 19:38 schrieb Steve Schwarz: >> > I've written a memcached based Session that others might find useful. >> > Feel free to use as you wish. >> >> I had some time to

Re: [Webware-discuss] Memcached Session Submission

2010-04-11 Thread Steve Schwarz
On Sun, Apr 11, 2010 at 4:23 PM, Christoph Zwerschke wrote: > Am 15.03.2010 19:38 schrieb Steve Schwarz: > > I've written a memcached based Session that others might find useful. > > Feel free to use as you wish. > > I had some time today to try it out. Works nicely. I have added some > improveme

Re: [Webware-discuss] Memcached Session Submission

2010-04-11 Thread Christoph Zwerschke
Am 15.03.2010 19:38 schrieb Steve Schwarz: > I've written a memcached based Session that others might find useful. > Feel free to use as you wish. I had some time today to try it out. Works nicely. I have added some improvements (namespaces, clear() and some more methods) and tests. Committed to

Re: [Webware-discuss] Memcached Session Submission

2010-03-15 Thread Christoph Zwerschke
Am 15.03.2010 19:38 schrieb Steve Schwarz: > I don't recall if I've already submitted this enhancement... > I've written a memcached based Session that others might find useful. Thanks, Steve. I'll have a look and probably include it with the next Webware release (yes it got postponed but is not

[Webware-discuss] Memcached Session Submission

2010-03-15 Thread Steve Schwarz
Hi, I don't recall if I've already submitted this enhancement... I've written a memcached based Session that others might find useful. Feel free to use as you wish. Usage: 1. Name the file SessionMemcachedStore.py in WebKit directory 2. Configure your Application.config: SessionStore = 'WebKit.Sess