Page 1 of 1

Make session timeout after idle for 2minute

Posted: Fri Jul 17, 2009 7:50 am
by xiaomahe
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.

Re: Make session timeout after idle for 2minute

Posted: Fri Jul 17, 2009 1:35 pm
by McInfo
Related topic: (broken) Timed php session

PHP Manual: Session Runtime Configuration

Edit: This post was recovered from search engine cache.