Selaa lähdekoodia

The login web page must NOT be cached by the web browsers

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2880 a333f486-631f-4898-b8df-5754b55c2be0
romainq 11 vuotta sitten
vanhempi
commit
ec9c11a5c8
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      application/loginwebpage.class.inc.php

+ 1 - 0
application/loginwebpage.class.inc.php

@@ -51,6 +51,7 @@ class LoginWebPage extends NiceWebPage
 	{
 		parent::__construct($sTitle);
 		$this->SetStyleSheet();
+		$this->add_header("Cache-control: no-cache");
 	}
 	
 	public function SetStyleSheet()