Can someone explain me how session fixation really works? On my localhost server I uploaded file with this code:
<?php
session_start();
if (!isset($_SESSION['count'])) $_SESSION['count'] = 0;
else ++$_SESSION['count'];
echo $_SESSION['count'];
?>
I set in my browser address: http://localhost/sessiontest.php?PHPSESSID=1234
It will begin just with 0 writen, after few times pressed refresh button it will go to 1,2,3,4,...In book and on internet topic I read before, there'written that if I use this adress in browser in different browser or in diferent PC, it will show the number mz first browser ended with. However when I typed this address to second PC, it was begining from 0.
Is it somehow secured in higher version of Apache and PHP or did I totally misunderstood the topic? Thanks for help!