Re: [Twisted-Python] Store simple value in web session

2012-09-05 Thread Benoît Fleury
Thank you for the explanation. On Wed, Sep 5, 2012 at 8:58 PM, Glyph wrote: > > On Sep 5, 2012, at 5:32 PM, Benoît Fleury wrote: > >> Hi, >> >> I would like to store a simple (immutable) value in a web session. >> >> Here are the options I see so far: >

[Twisted-Python] Store simple value in web session

2012-09-05 Thread Benoît Fleury
Hi, I would like to store a simple (immutable) value in a web session. Here are the options I see so far: - use the component architecture (seems a bit overkill...) - subclass Session to hold the value I want to store - patch Session to behave like a dictionary (didn't look at the code, not su