title: Session state server custom timeouts for users
body: <p>I want to use a SessionStateServer Redis in Azure Cache. My problem is I want to set a custom timeouts for our users but it always takes the default value.</p>
  
  <p>How do I specify custom timeout values for our users ?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;sessionState mode="Custom" customProvider="MySessionStateStore" timeout="20"&gt;
       &lt;providers&gt;
         &lt;add type="Microsoft.Web.Redis.RedisSessionStateProvider" name="MySessionStateStore" host="host" port="6380" accessKey="pass" ssl="true" throwOnError="true" retryTimeoutInMilliseconds="0" databaseId="0" applicationName="xxxDev" connectionTimeoutInMilliseconds="5000" operationTimeoutInMilliseconds="5000" /&gt;
       &lt;/providers&gt;
     &lt;/sessionState&gt;</code></pre>
  </div>
  </div>
  </p>