Skip to content

Instantly share code, notes, and snippets.

@emayk
Created March 26, 2012 03:40
Show Gist options
  • Save emayk/2202705 to your computer and use it in GitHub Desktop.
Save emayk/2202705 to your computer and use it in GitHub Desktop.
php: header on event logout
<?php
header(‘Expires: Mon, 1 Jul 1998 01:00:00 GMT’);
header(‘Cache-Control: no-store, no-cache, must-revalidate’);
header(‘Cache-Control: post-check=0, pre-check=0′, FALSE);
header(‘Pragma: no-cache’);
header( “Last-Modified: ” . gmdate( “D, j M Y H:i:s” ) . ” GMT” );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment