I have an asp.net application that currently uses authentication with slideExpiration = "true". In web.config we have the following:
<authentication mode="Forms"> <forms loginUrl="Mylogin.aspx" timeout="15" slidingExpiration="true"/> </authentication>
It is all to the specification: a rolling 15 minute expiration occurs. However, now we have a new security requirement: users must re-authenticate every 24 hours, even if they have been “active” all the time. In other words, even if you clicked a link on a site every minute within 24 hours immediately after logging in, after 24 hours you will be automatically logged out and redirected to the login page.
But slideExpriation is true / false. As far as I can tell, there is no “both” function (for example, slideExpirationTimeout = "15" and absoluteExpirationTimeout = "1440" have a value).
Except for my own solution, is there a way to implement this with built-in forms authentication?
Thanks in advance.
source share