Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I have made a webapplication in asp.net c#.

This application has login page to access, when user logins and uses this application.

for sometime he is away from computer OR sits idle. so it must redirect to login page.

Please can you help me

Thanks.
Posted

 
Share this answer
 
Comments
Dholakiya Ankit 9-Sep-13 1:10am    
gud one 5ed
ridoy 9-Sep-13 2:17am    
Thank you.
Set session timeout to the desired value.
Set forms authentication with given login page

Once the session expires, any new request will redirect to login page automatically
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900