You are here

function hook_auto_logout_session_reset in Automated Logout 7.4

Let others act when session is extended.

Use case: Some applications might be embedding the some other applications via iframe which also requires to extend its sessions.

1 invocation of hook_auto_logout_session_reset()
autologout_ahah_set_last in ./autologout.module
Ajax callback to reset the last access session variable.

File

./autologout.api.php, line 51
Describe hooks provided by the autologout module.

Code

function hook_auto_logout_session_reset($user) {
  $myOtherIframeApplication
    ->resetSession($user->uid);
}