I need to keep some static data about the user, after he has logged into my ASP.Net MVC 4 website. Everything is hook up in Castle Windsor container.
The login process calls an Authentication service, which returns the user data, that is needed for processing and other servicecalls later in a session.
I have looked at this post: MVC Custom Authentication, Authorization, and Roles Implementation. But the problem is that it uses servicelocation in a static class, which is problematic.
How should i store userdata for use throughout the session in a setup like this?
EDIT: I'm using persistent cookies, so somehow i need to recreate my userdata, when a user returns to the site.