[Twisted-Python] Store simple value in web session
benoit.fleury at gmail.com
Wed Sep 5 20:32:36 EDT 2012
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?
More information about the Twisted-Python