Bug 535031 - Bugzilla manager doesn't allow to view nor modify project Change-Id: I300d721b23dcbbcaab3785a123f5e6f840733fe9 Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
diff --git a/eclipse.org-common/system/app.class.php b/eclipse.org-common/system/app.class.php index 35243b4..e90b381 100644 --- a/eclipse.org-common/system/app.class.php +++ b/eclipse.org-common/system/app.class.php
@@ -743,6 +743,10 @@ * Sets the headers to prevent caching for the different browsers. */ function preventCaching() { + // Bug 535031 - Bugzilla manager doesn't allow to view nor modify project + if (session_id() == '') { + session_start(); + } header("Cache-Control: no-store, no-cache, private, must-revalidate, max-age=0, max-stale=0"); header("Cache-Control: post-check=0, pre-check=0", FALSE); header("Pragma: no-cache");