Geeks With Blogs
Shravan's Articles on .NET A .NET Blog May 2011 Entries
How To Create Sessionless Controller in MVC3
How to manage the controller's session state? Simply we can decorate the controller class with "SessionState" attribute. [SessionState()] attribute accepts SessionStateBehaviour enumeration. SessionStateBehaviour enumeration has the following constants. SessionStateBehavior.Default - ASP.NET default logic is used to determine the session state behavior for the request. SessionStateBehavior.Required - Full read-write session state behavior is enabled for the request. SessionStateBehavior.ReadOnly ......

Posted On Friday, May 13, 2011 11:00 PM

Copyright © Shravan Kumar | Powered by: GeeksWithBlogs.net