I use controller as web service (not related to any view)
How can I imitate a Page.Session object ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can access Session anywhere you like just with HttpContext.Session.
Check this out: http://weblogs.asp.net/jgalloway/archive/2012/02/16/asp-net-4-beta-released.aspx
It’s it beta now but it will be released soon with MVC4.