You are here

function authcache_p13n_session_invalidate in Authenticated User Page Caching (Authcache) 7.2

Invalidate user specific content.

Related topics

10 calls to authcache_p13n_session_invalidate()
authcache_block_config_submit in modules/authcache_block/authcache_block.module
Block submit handler.
authcache_flag_flag_flag in modules/authcache_flag/authcache_flag.module
Implements hook_flag_flag().
authcache_flag_flag_unflag in modules/authcache_flag/authcache_flag.module
Implements hook_flag_unflag().
authcache_p13n_authcache_cookie in modules/authcache_p13n/authcache_p13n.module
Implements hook_authcache_cookie().
authcache_p13n_exit in modules/authcache_p13n/authcache_p13n.module
Implements hook_exit().

... See full list

2 string references to 'authcache_p13n_session_invalidate'
AuthcacheP13nTestSession::testInvalidateOnLoginAndLogout in modules/authcache_p13n/tests/authcache_p13n.session.test
Ensure that the browser session is invalidated upon login/logout.
AuthcacheP13nTestSession::testInvalidateOnPost in modules/authcache_p13n/tests/authcache_p13n.session.test
Ensure that browser session is invalidated on every post request.

File

modules/authcache_p13n/authcache_p13n.module, line 550
Provides methods for serving personalized content fragments.

Code

function authcache_p13n_session_invalidate($report_only = FALSE) {
  $should_invalidate =& drupal_static(__FUNCTION__, FALSE);
  if (empty($report_only)) {
    $should_invalidate = TRUE;
  }
  return $should_invalidate;
}