title: Cookie mode session state not updated though aapcmd utility
body: <p>I have follow this <a href="https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-an-aspnet-website-on-iis/configuring-step-2-configure-asp-net-settings" rel="nofollow noreferrer">guide</a> for updating a session timeout in a site configuration. I tried multiple combination as well. Also, tried this suggestions given at <a href="https://forums.iis.net/t/1156509.aspx" rel="nofollow noreferrer">thread</a> which did not work either. </p>
  
  <p>I am trying this command,</p>
  
  <pre><code>C:\Windows\system32\inetsrv\APPCMD set config site_name /commit:WEBROOT /section:sessionState /cookieless:UseCookies /cookieName:ASP.NET_SessionId /timeout:520
  </code></pre>
  
  <p><em>Applied configuration changes to section "system.web/sessionState" for "MACHINE/WEBROOT/APPHOST/site_name" at configuration commit path "MACHINE/WEBROOT/APPHOST/site_name"</em></p>
  
  <p>shows above output. But, actual value is not replaced as shown in below,
  <a href="https://i.stack.imgur.com/28x3g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/28x3g.png" alt="sessionState_timeout"></a></p>
  
  <p>Details:
  IIS Web server7.5
  Windows Server 2008 R2</p>
  
  <p>Can someone help in this regards. Thank you.</p>