Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Guindon2018-05-31 16:24:26 +0000
committerChristopher Guindon2018-05-31 16:24:26 +0000
commit0b281b67e8fdf7d0bdcb571ee6cd7e3bee7a28ba (patch)
tree9656200fed967cb9420c36eff2bc3cbce6cf1933
parentce2446d8ad7b064731f52546b41c1ac23eae065c (diff)
downloaddev.eclipse.org-0b281b67e8fdf7d0bdcb571ee6cd7e3bee7a28ba.tar.gz
dev.eclipse.org-0b281b67e8fdf7d0bdcb571ee6cd7e3bee7a28ba.tar.xz
dev.eclipse.org-0b281b67e8fdf7d0bdcb571ee6cd7e3bee7a28ba.zip
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>
-rw-r--r--eclipse.org-common/system/app.class.php4
1 files changed, 4 insertions, 0 deletions
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 @@ class App {
* 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");

Back to the top