Hi.
I am using PHP 4 sessions.
The pages controlled by the session are for employees to amend their own personal data for the companies personnel system.
When they start editing, I want to be able to "timeout" the page.
I use the Refresh header to do this (i.e. if a page is loaded for more than say 3 minutes, then the logon screen is shown). No problems.
There are several different pages for the user to enter details (personal, banking, etc).
As I jump from page to page, I examine the session. I don't want the session to expire BEFORE 3 minutes. But I also don't want the session to be permanent.
Can I "reset" the session timeout to be 3 minutes when a page is loaded?
Or do sessions get reset each time they start?
I am using PHP 4 sessions.
The pages controlled by the session are for employees to amend their own personal data for the companies personnel system.
When they start editing, I want to be able to "timeout" the page.
I use the Refresh header to do this (i.e. if a page is loaded for more than say 3 minutes, then the logon screen is shown). No problems.
There are several different pages for the user to enter details (personal, banking, etc).
As I jump from page to page, I examine the session. I don't want the session to expire BEFORE 3 minutes. But I also don't want the session to be permanent.
Can I "reset" the session timeout to be 3 minutes when a page is loaded?
Or do sessions get reset each time they start?