N°3317 - Add http headers

This commit is contained in:
Eric
2020-09-22 11:39:19 +02:00
parent 45e366745d
commit bef1832ac7
16 changed files with 45 additions and 14 deletions

View File

@@ -48,7 +48,9 @@ class ajax_page extends WebPage implements iTabbedPage
parent::__construct($s_title, $bPrintable);
$this->m_sReadyScript = "";
//$this->add_header("Content-type: text/html; charset=utf-8");
$this->add_header("Cache-control: no-cache");
$this->add_header('Cache-control: no-cache, no-store, must-revalidate');
$this->add_header('Pragma: no-cache');
$this->add_header('Expires: 0');
$this->m_oTabs = new TabManager();
$this->sContentType = 'text/html';
$this->sContentDisposition = 'inline';