Am a little confused about session state storage. I have an MVC application, there are view models, which are closer to the view, then there are the domain models which have rich behavior. We are required to store some session state in our application and am having a hard time deciding if I should store my view models or my domain models in my session.
We inherited a legacy application and we are forced to extend a ViewModelBase which has a lot of cruft in it. Hence am hesitant to save the view models in session. On the other hand, domain models have behavior in them and it doesn't feel right to store them.
Any ideas?