Generate new token on forcible generating of session id.

This commit is contained in:
Michal Čihař
2010-08-17 15:30:47 +02:00
parent 9e2a3f207b
commit e8cf1ac677

View File

@@ -101,5 +101,6 @@ function PMA_secureSession()
{
// prevent session fixation and XSS
session_regenerate_id(true);
$_SESSION[' PMA_token '] = md5(uniqid(rand(), true));
}
?>
?>