title: Enable / disable session state per controller / action method
body: <p>We are building an ASP.NET MVC application which will be deployed behind a hardware load balancer that supports, among other things, caching.</p>
  
  <p>Our proposal is to manually define which URL patterns should be cached by the load balancer. This will be quite an easy process for us as we have 'catalogue' pages which are relatively static, then 'order' pages which are not.</p>
  
  <p>Must avoid using session state on cached pages, as the entire response is cached by the load balancer - this includes any cookies that are sent.</p>
  
  <p>Ideally there would be an attribute which can be applied to controllers or action methods which allows selective use of session state, but there doesn't appear to be one. I realise that an approach like this would result in lost sessions if the use leaves the 'session zone' - that's fine.</p>
  
  <p>Other than re-implementing the entire ASP.NET MVC HTTP controller... any suggestions?</p>
  
  <p>Thanks in advance.</p>