Make session timeout after idle for 2minute
Posted: Fri Jul 17, 2009 7:50 am
Hi, for security reason, i need to implement a timeout after user has been idle for 2 minute..
Let's say user has logged in and then idle for 2 minutes, it will automatically logout and redirect to the main page. how do i do that?
I am using session[login] to detect if user has already logged in or not.
Let's say user has logged in and then idle for 2 minutes, it will automatically logout and redirect to the main page. how do i do that?
I am using session[login] to detect if user has already logged in or not.