Session Timeout for Admin

Topics: Administration, Customizing Orchard, General
Aug 27, 2013 at 9:46 PM
I'm trying to decrease the admin login session. I've configured for one min and 5 min and nothing triggers timeout and login redirect. Would anyone know what I'm doing wrong? Thanks.

web.config in Orchard.Web

<authentication mode="Forms">
  <forms loginUrl="~/Users/Account/AccessDenied" timeout="2"/>
</authentication>
<sessionState
          mode="InProc"
          timeout="2" />