You are here

function authcache_backend_initial_session_id in Authenticated User Page Caching (Authcache) 7.2

Return the session id captured during backend initialization.

Related topics

3 calls to authcache_backend_initial_session_id()
authcache_backend_init in ./authcache.cache.inc
Initialize the cache backend module.
authcache_backend_test_exit in tests/authcache_backend_test.module
Implements hook_ext().
authcache_builtin_authcache_backend_key_set in modules/authcache_builtin/authcache_builtin.module
Implements hook_authcache_backend_key_set().

File

./authcache.cache.inc, line 231
Defines authcache aware copy of drupal_serve_page_from_cache().

Code

function authcache_backend_initial_session_id($set_session_id = NULL) {
  $initial_session_id =& drupal_static(__FUNCTION__);
  if (isset($set_session_id)) {
    $initial_session_id = $set_session_id;
  }
  return $initial_session_id;
}