title: How to access Session Timeout value in Asp.Net Core MVC 1.0 (aka MVC 6 RC1)?
body: <p>In Asp.Net Core MVC 1.0 (MVC 6 RC1) the session timeout period is specified when session support is added in the <code>ConfigureServices</code> method in Startup.cs like so:</p>
  
  <pre><code>services.AddSession(options =&gt;
          {
              options.IdleTimeout = TimeSpan.FromMinutes(30);
              options.CookieName = "Session";
          });
  </code></pre>
  
  <p>My question is this: elsewhere in the application how can this <code>IdleTimeout</code> value be accessed?  </p>
  
  <p>I would expect to find it as a property off of the HttpContext.Session object but it does not appear to be there.  I've searched high and low and this doesn't seem to be documented anywhere. Thoughts?</p>