patch #1863739 [auth] cache control missing (PHP-CGI), thanks to stmfd

This commit is contained in:
Marc Delisle
2009-04-12 12:19:08 +00:00
parent 857eba2705
commit 2647ce6a5e
2 changed files with 5 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- patch #2727250 Optimizations for PHP loops
thanks to Haeber
- bug #2650776 [import] SQL_MODE not saved during Partial Import
- patch #1863739 [auth] cache control missing (PHP-CGI), thanks to stmfd
3.1.4.0 (not yet released)
+ patch #1808339 [doc] Apache SSLOptions and StdEnvVars FAQ,

View File

@@ -684,6 +684,10 @@ function PMA_auth_fails()
$conn_error = $GLOBALS['strCannotLogin'];
}
// needed for PHP-CGI (not need for FastCGI or mod-php)
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Pragma: no-cache');
PMA_auth();
} // end of the 'PMA_auth_fails()' function