We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb79e66 commit b182ceaCopy full SHA for b182cea
src/Http/Session.php
@@ -123,7 +123,9 @@ private function initialize(): void
123
// regenerate empty session
124
if (empty($nf['Time'])) {
125
$nf['Time'] = time();
126
- $this->regenerateId(); // ensures that the session was created in strict mode (see use_strict_mode)
+ if ($this->request->getCookie(session_name())) { // ensures that the session was created in strict mode (see use_strict_mode)
127
+ $this->regenerateId();
128
+ }
129
}
130
131
// process meta metadata
0 commit comments