PHP Session Demo (use_strict_mode=On)

Session ID
bcgjmipe05jdf5u54cog0mqn86
Counter
1

PHP Source Code

Page Load

session_start([
	'cache_expire' => '0',
	'cache_limiter' => 'private_no_expire',
	'cookie_httponly' => 'On',
	'cookie_secure' => 'On',
	'cookie_samesite' => 'Strict',
	'name' => 'LAB-STRICT-ON-SESSID',
	'use_strict_mode' => 'On',
]);

`Reset` button click

$_SESSION = [];
session_destroy();