1

PHP sessions not stored on IIS

view story
linux-howto

http://serverfault.com – I have a little PHP application: /index.php: <?php session_start(); $_SESSION["test"] = "hi"; ?> /test.php: <?php session_start(); var_dump($_SESSION); ?> /subfolder/test.php: <?php session_start(); var_dump($_SESSION); ?> Any idea why a session is only available within the root directory? /test.php perfectly dumps the content of the session while /subfolder/test.php is empty. My IIS cookie configuration: Thanks a lot! (HowTos)