How can I produce a "rolling session timeout"? At the top of every page, I have this:
///////////////
session_set_cookie_params (60*60 , "/" , "mydomain.com" );
session_start();
///////////////
I want this to 'refresh' the session cookie to expire 1 hour from the last hit. This expiration refresh does not seem to be happening; rather, the session expires after 1 hour of starting the session -- it doesn't get updated with the session_set_cookie_params call.
What do I need to do to accomplish this?
Thanks,
Ryan