Hi,
I found a very strange problem when using xampp and virtual host on w10, version php7.
The problem comes up when using EDGE or Internet Explorer and running php in a virtual host. If the virtual host name contains underscore, the sessions are regenerated at each call.
Let me try to explain, I've created a virtual host named "php_test.cricri.fr" and if I run the following index.php :
<?php
session_start();
echo "session id: ".session_id ()."<br>";
?>
<a href="http://php_test.cricri.fr/index.php">Go</a>
the session id is different each time I reload the page (by clicking on the link).
If I do a virtual host named "phptest.cricri.fr" without underscore, and if I run the folowing index.php :
<?php
session_start();
echo "session id: ".session_id ()."<br>";
?>
<a href="http://phptest.cricri.fr/index.php">Go</a>
Everything works well and the session id doesn't change.
Last remark, this occurs only with EDGE or INTERNET EXPLORER (it's ok with firefox, chrome, opera, ..)
This also appears with the php version 7 (the las new version of xampp with php7).
Is this behavior normal or is it a bug ?
Thanks and regards, feel free to ask if you need more information to reproduce the problem.
--Christian