updating database at end of session_set_cookie_params/session.gc_maxlifetime
<p>Is there anyway to trigger an sql logic (essentially a php function containing the sql logic) after the timer that is set in session_set_cookie_params/session.gc_maxlifetime have run out? E.g a user does not log out properly and have closed the browser. So the database is not updated.</p>

<p>Edit: Also a question about session.gc_maxlifetime. Does an automatic ajax request that is not fired because of userinteraction with the browser reset its timer?</p>
