How can I set a finite

How can I set a finite timeout on a PHP session? I want my users to be logged in for 60 minutes regardless of activity/inactivity. I'm toying around with maxlifetime etc, but every time a new page is visited, the session renews itself, thus never expiring. I am using server sessions only, with a defined save_path.

I'm presuming it's done using some kind of date comparison function.

Many thanks.

Reply

The content of this field is kept private and will not be shown publicly.
Security question, designed to stop automated spam bots