aboutsummaryrefslogtreecommitdiffstats
path: root/config/orionids-dev/snort_blocked.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/orionids-dev/snort_blocked.php')
-rw-r--r--config/orionids-dev/snort_blocked.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/orionids-dev/snort_blocked.php b/config/orionids-dev/snort_blocked.php
index be2a3835..fdc12480 100644
--- a/config/orionids-dev/snort_blocked.php
+++ b/config/orionids-dev/snort_blocked.php
@@ -45,6 +45,13 @@ require_once("guiconfig.inc");
require_once("/usr/local/pkg/snort/snort_new.inc");
require_once("/usr/local/pkg/snort/snort_gui.inc");
+//Set no caching
+header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
+header("Cache-Control: no-store, no-cache, must-revalidate");
+header("Cache-Control: post-check=0, pre-check=0", false);
+header("Pragma: no-cache");
+
$generalSettings = snortSql_fetchAllSettings('snortDB', 'SnortSettings', 'id', '1');