i want to set session time out limit by 3 min ,i have used this in the pageini_set("session.gc_maxlifetime", "50"); not workingSolution for this \[quote\] if (isset($_SESSION['LAST_ACTIVITY']) && (time() - $_SESSION['LAST_ACTIVITY'] > 1800)) { // last request was more than 30 minates ago session_destroy(); // destroy session data in storage session_unset(); // unset $_SESSION variable for the runtime } $_SESSION['LAST_ACTIVITY'] = time(); // update last activity time stamp\[/quote\]