You are here

function _authcache_debug_cid in Authenticated User Page Caching (Authcache) 7.2

Return generated cid for authcache debug information.

2 calls to _authcache_debug_cid()
authcache_debug_page_build in modules/authcache_debug/authcache_debug.module
Implements hook_page_build().
_authcache_debug_shutdown in modules/authcache_debug/authcache_debug.module
Shutdown function for saving debug info.

File

modules/authcache_debug/authcache_debug.module, line 108
Debug widget for Authcache.

Code

function _authcache_debug_cid() {
  $cid =& drupal_static(__FUNCTION__);
  if (!isset($cid)) {
    $cid = 'req-' . drupal_random_key();
  }
  return $cid;
}