Asma Siddiqua

Asma Siddiqua

  • NA
  • 23
  • 5.4k

Cant able to logout after session time out in C#.net applica

Jun 4 2015 8:43 AM
I want to logout my application if user not use apllication till 20 mins, so itried like below but its not working..session going time out but not redirecting to login page.
 
<authentication mode="Forms">       
<forms defaultUrl="~/login.aspx" loginUrl="~/login.aspx" slidingExpiration="true" timeout="10"></forms>     
</authentication>
 

Answers (8)