Be careful when storing a model in a session. It will behave differently than you expect and can easily get out of sync with the database. Instead of storing the model directly in the session, store the id to the model and use that to fetch it from the database.
Is it best practice like above to just put the id of the model into the session and then extract it later, or should I pass the whole model?