Project

General

Profile

« Previous | Next » 

Revision 2ebbb0bc

Added by Jose Luis Duran about 10 years ago

Remove pre-check and post-check from Cache-Control

If both `post-check` and `pre-check` are specified and set to `0`, both
are entirely ignored:

http://blogs.msdn.com/b/ieinternals/archive/2009/07/20/using-post_2d00_check-and-pre_2d00_check-cache-directives.aspx

View differences:

usr/local/captiveportal/index.php
40 40
$errormsg = "Invalid credentials specified.";
41 41

  
42 42
header("Expires: 0");
43
header("Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0");
43
header("Cache-Control: no-cache, no-store, must-revalidate");
44 44
header("Pragma: no-cache");
45 45
header("Connection: close");
46 46

  

Also available in: Unified diff