title: Asp.Net Identity - Setting CookieDomain at runtime
body: <p>How can I set the CookieDOmain in the CookieAuthenticationOptions at runtime if i want to pull this value from the Request.Url or from some settings stored in my database?</p>
  
  <p>I want to support sub-domains, but also support multi-tenants too which each have different domains.</p>
  
  <p>At the moment this is configured I don't have access to either of these.</p>
  
  <p>Paul</p>