I found that you can actually use this code in web.config file, but it is not working properly, because the pages didn't expire, or maybe i did something wrong
<system.web>
<authentication mode="Forms">
<forms loginUrl="Login.aspx" protection="All" timeout="20"/>
</authentication>
</system.web>
|