You are here

function autologout_form_submit in Automated Logout 6.3

1 string reference to 'autologout_form_submit'
autologout_form_alter in ./autologout.module
Implementation of hook_form_alter().

File

./autologout.module, line 61
Used to automagically log out a user after a certain time.

Code

function autologout_form_submit($form, &$form_state) {

  // Update the session's last access.
  // #509590, if you wait on the admin page and set a small timeout, you will be logged out.
  $_SESSION['autologout_lastaccess'] = time();
}