<authentication mode="Forms">
<forms loginUrl="~/Membership/LogOn" timeout="1" defaultUrl="~/Membership/LogOn" />
</authentication>
o webconfig file. after minute it redirects to LogOn page. But i know that my session wil end after 10 minutes. how i can make so that Session objects and httpContext.Request.IsAuthenticated die in same time?
and please tell me in which Event i must check session in BaseController. in OnActionExecuting?
Anonymous User
11-Oct-2014and now httpContext.Request.IsAuthenticated will return false when session expired. because timeout both of them is 5 minutes