title: FubuMVC: How to configure which ISessionState implementation to use
body: <p>I have some trouble making Fubu use my own implementation of ISessionState.</p>
  
  <p>My controller has a constructor that takes an ISessionState argument.</p>
  
  <p>I have tried using StructureMap like so in my global asax</p>
  
  <pre><code>FubuApplication.For&lt;ConfigureFubu&gt;().StructureMapObjectFactory(container =&gt; 
  {
      container.Scan(scanner =&gt;
      {
          scanner.TheCallingAssembly();
          scanner.WithDefaultConventions();
      });
  
      container
          .For&lt;ISessionState&gt;()
          .Use&lt;MySessionState&gt;();
  })
  .Bootstrap();
  </code></pre>
  
  <p>Where and how am I supposed to tell Fubu to use MySessionState instead of SimpleSessionState?</p>