[Twisted-Python] Store simple value in web session
BenoƮt Fleury
benoit.fleury at gmail.com
Wed Sep 5 18:32:36 MDT 2012
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 sure if it makes sense...)
I'm also curious about the advantages of this component architecture
for the session object instead of a simple dictionary?
Thanks,
Benoit.
More information about the Twisted-Python
mailing list