Automatic signout in form authentication
-
Hi Friends, I am using Forms authentication in my Asp.net2.0 application.The <forms name=".ASPXAUTH" loginUrl="index.aspx" defaultUrl="main.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile" domain="" enableCrossAppRedirects="false"> The time out is ="30" .I need to automatically signout my application when timeout reaches.. any idea?? Thanks in advance
They laugh at me; they think I’m different. I laugh at them, ‘coz they are all same!!
CrazySanker -
Hi Friends, I am using Forms authentication in my Asp.net2.0 application.The <forms name=".ASPXAUTH" loginUrl="index.aspx" defaultUrl="main.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile" domain="" enableCrossAppRedirects="false"> The time out is ="30" .I need to automatically signout my application when timeout reaches.. any idea?? Thanks in advance
They laugh at me; they think I’m different. I laugh at them, ‘coz they are all same!!
CrazySankerVipin.d wrote:
The time out is ="30" .I need to automatically signout my application when timeout reaches..
When user is idle for 30 minutes, he will be redirected to login page when he requests again. What problem are you facing ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Vipin.d wrote:
The time out is ="30" .I need to automatically signout my application when timeout reaches..
When user is idle for 30 minutes, he will be redirected to login page when he requests again. What problem are you facing ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
Thank you for your reply.. But I need to redirected to login page without making any request again.. ie when the idle time reach 30,automatically go to login page without any hit from user. is it posiible??
They laugh at me; they think I’m different. I laugh at them, ‘coz they are all same!!
CrazySanker -
Thank you for your reply.. But I need to redirected to login page without making any request again.. ie when the idle time reach 30,automatically go to login page without any hit from user. is it posiible??
They laugh at me; they think I’m different. I laugh at them, ‘coz they are all same!!
CrazySankerYou can do AJAX request to the server. If timeout limit over, redirect using javascript. But this method is not reliable.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions