title: How can I save custom UserSession to cache after upgrading to ServiceStack 4?
body: <p>I used to be able to save my customer AuthSession to the cache, but since upgrading it only saves the properties on the IAuthSession interface, not my class CustomUserSession.</p>
  
  <p>The code runs here:</p>
  
  <pre><code>public class AcmeUserSession : ServiceStack.AuthUserSession, IAcmeUserSession
  {
  
      public override void OnAuthenticated(IServiceBase authService, IAuthSession session,   IAuthTokens tokens, Dictionary&lt;string, string&gt; authInfo)
      {
  
       //code to update session object
  
       authService.SaveSession(this);     //*****HERE*****
  
      }
  }
  </code></pre>
  
  <p>This code has not changed, but now when I look in redis at the saved object it only has properties from IAuthSession, not the custom properties from AcmeUserSession as it used to have.</p>
  
  <p>Please help!</p>
  
  <p>Thanks,</p>
  
  <p>Richard</p>