WorldofASP.NET : ASP.NET Tutorial, Hosting, and Source Code

Product SpotLight Hosting SpotLight

Sessionless MonoRail Controllers

Blogger : ASP.NET Blogs
All posts : All posts by ASP.NET Blogs
Category : ASP.NET
Blogged date : 2008 Apr 15

I saw this post on the Castle Users mailing list and thought it was interesting and I wanted to post it.

By default, MonoRail controllers assume that ASP.NET session state is enabled.  If you disable ASP.NET's session state inside web.config, you'll get an exception when MonoRail tries to process the request.  What you need to do in this situation is to add a ControllerDetails attribute to your controller and set "Sessionless = true".  Thanks to Roelof Blom for posting a quick solution.


Read comments or post a reply to : Sessionless MonoRail Controllers
Page 74 of 1447
Next | Last

.NET News Categories








Legend : - Within 3 Days - Within 6 Days - Within 9 Days

Home | Add Resources | Sponsored Listings | Advertise with Us | SiteMap | Link To Us | Contact Us
© 2002-2008 Worldofasp.net ASP.NET Directory, Hosting and Tutorials | All rights reserved
Our Partners : ASP.NET Web Hosting | Windows Web Hosting | FREE ASP.NET CMS | Phone Card | PHP Directory | Bangkok Hotels |Calling Card