In a newly created MVC4 application, I would like to keep all USERProfile members in the session so that I can access all the values ββafter the user logs in. But the session array object offers only 2 alternative
Session[int]/Session[string]
I need to get
Session['username']; Session['age']; etc
everything existing in this class.
source share