![](https://secure.gravatar.com/avatar/0b5e44d40d7a622c2a302e703456aec5.jpg?s=120&d=mm&r=g)
Sept. 6, 2012
12:32 a.m.
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.