You are here

function _drupal_session_garbage_collection in Memcache Storage 7

Session handler assigned by session_set_save_handler().

Cleans up stalled sessions.

Parameters

$lifetime: The value of session.gc_maxlifetime, passed by PHP. Sessions not updated for more than $lifetime seconds will be removed.

Return value

boolean

1 string reference to '_drupal_session_garbage_collection'
drupal_session_initialize in includes/session.inc
Initializes the session handler, starting a session if needed.

File

includes/session.inc, line 514
User session handling functions.

Code

function _drupal_session_garbage_collection($lifetime) {
  return TRUE;
}