You are here

function session_limit_help in Session Limit 5

Same name and namespace in other branches
  1. 6.2 session_limit.module \session_limit_help()
  2. 6 session_limit.module \session_limit_help()
  3. 7.2 session_limit.module \session_limit_help()

Implementation of hook_help().

File

./session_limit.module, line 42
Established Sessions do NOT need to verify every page load. new Session must deal w/ determining which connection is cut.

Code

function session_limit_help($section) {
  switch ($section) {
    case 'session/limit':
      return t('The maximum number of simultaneous sessions (@num) for your account has been reached. You did not log off from a previous session or someone else is logged on to your account. This may indicate that your account has been compromised or that account sharing is limited on this site. Please contact the site administrator if you suspect your account has been compromised.', array(
        '@num' => variable_get('session_limit_max', 1),
      ));
  }
}