mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #9499 from lekoala/patch-16
This commit is contained in:
commit
693c4cde46
@ -648,7 +648,7 @@ class Session
|
||||
*/
|
||||
public function regenerateSessionId()
|
||||
{
|
||||
if (!headers_sent()) {
|
||||
if (!headers_sent() && session_status() === PHP_SESSION_ACTIVE) {
|
||||
session_regenerate_id(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user