Right now i am using the below code in web.config file to maintain session timeout.
This code fine.it works..
But the problem is,if session timeout expires(tat is after 1 minute) it will not automatically redirect to my loginurl-"index.aspx " i need to suppose to click any of the button in my web page then only it redirects to loginurl.
i need to redirect my page automatically to loginurl without any click or mouseover().
Thanks in advance.
Hope you help!
Code:
<authentication mode="Forms">
<forms loginUrl="index.aspx" name=".ASPXFORMSAUTH" timeout="1" protection="All" slidingExpiration="true"/>
</authentication>
<sessionState mode="InProc" cookieless="false" timeout="1"/>
But the problem is,if session timeout expires(tat is after 1 minute) it will not automatically redirect to my loginurl-"index.aspx " i need to suppose to click any of the button in my web page then only it redirects to loginurl.
i need to redirect my page automatically to loginurl without any click or mouseover().
Thanks in advance.
Hope you help!