Models in the session and serialization.

from personal experience they are serialized and do not work well when being stored in the session. your best bet is to keep the id in the session and query the db each time