Skip to content

Commit 118a0de

Browse files
committed
Show info about permanent Set-Cookie
1 parent c34a000 commit 118a0de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Debug/SessionCollector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,10 @@ protected function renderCookieParams() : string
315315
</tr>
316316
</tbody>
317317
</table>
318+
<p>
319+
<strong>Set-Cookie:</strong> <?=
320+
$this->options['set_cookie_permanent'] ? 'Permanent' : 'Normal' ?>
321+
</p>
318322
<?php
319323
return \ob_get_clean(); // @phpstan-ignore-line
320324
}

0 commit comments

Comments
 (0)