thorpedosg

KPcM8k4A

Aug 7th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Prevent caching across browser instances in Android (using zxing)
  2. header("Cache-Control: no-store, no-cache, must-revalidate");
  3. header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
  4. header("Pragma: no-cache");
  5. header('Location: ' . generateAOneTimeURL(), TRUE, 307 );
Add Comment
Please, Sign In to add comment