You are here

function authcache_authcache_cookie in Authenticated User Page Caching (Authcache) 7.2

Implements hook_authcache_cookie().

Related topics

File

./authcache.module, line 1092
Authenticated User Page Caching (and anonymous users, too!)

Code

function authcache_authcache_cookie($account) {

  // Add/Remove cookie for temporary exclusion.
  $cookies['nocache']['present'] = authcache_precluded();
  $cookies['nocache']['value'] = 1;
  return $cookies;
}