I'm using Drupal 6 for a program that does some e-payment work. Due to the fact that being logged in means that browser can access a users sensitive financial information I want to make sure it will timeout the session after an inactive period.
I tried using:
ini_set('session.cookie_lifetime', 600); //expire after 10 minutes of inactivity
However this logs the user out after 10 minutes regardless of whether they had any activity since login.
Is there a different setting to use or a way to modify this setting to make the session expire after inactivity rather than have a hard and fast lifetime length?