Jake Morgan wrote:Your web.config probably has a section that looks like this:
Code: <authentication mode="Forms">
<forms loginUrl="~/Login" defaultUrl="~/" timeout="525600" />
</authentication>
525600 is the expiration in minutes = 365 days = 1 year
Here is the MSDN documentation:
http://msdn.microsoft.co...s/library/1d3t3c61.aspx
You can maybe set it to a lower value but turn sliding expiration on?
Jake this works good. I have changed the forms line to the below:
Code:<forms defaultUrl="~/" loginUrl="~/Login" timeout="3600" slidingExpiration="true" />
This times out the session at 60 minutes.
The only problem is it displays the login box that is similar to if you were using AD login, the popup one. Is there anyway to after this timeout period forward to the login page instead? Reading the MSDN page with the loginURL it seems like it should forward the browser, but this isn't happening.