title: StateServer not allowing WCF returned type to be stored in session variable
body: <p>I'm making a call to one of our internal WCF services from within a 1.1 web application and returning a type which I then store in session.</p>
  
  <p>The returned type contains data for the page and when the page renders I get the following message:</p>
  
  <p>"Unable to serialize the session state.  Please note that non-seriWializable objects or MarshalByRef objects are not permitted when session state mode is "StateServer" or "SQLServer".</p>
  
  <p>I don't understand why I would not be able to stored a type returned from a service into a session variable.</p>
  
  <p>If I changed the config to "InProc" then it works.</p>
  
  <p>Appreciate your feedback.</p>