WeedPacket, I am not talking about session IDs, but thanks anyway.
Take a look at this, this is interesting:
Let's consider I only have this piece of code on a page index.php.
<?
session_start();
$acceptcookies = 1;
session_register("acceptcookies");
$acceptcookie = 1;
session_register("acceptcookie");
$acceptcookiez = 1;
session_register("acceptcookiez");
$aceptcookies = 1;
session_register("aceptcookies");
if(isset($SESSION)){
foreach($SESSION as $c=>$v){
echo ($c. " is worth ".$v."<br>");
}
}
?>
When I launch the page and then refresh, something weird happens.
I get this as an output:
acceptcookies is worth // Weird, huuuu?
acceptcookie is worth 1
acceptcookiez is worth 1
aceptcookies is worth 1
Is that a bug???
Nobru😕