Have you set up virtual hosts, e.g. in your vhosts file:
e.g. C:\xampp\apache\conf\extra\httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot c:/xampp/htdocs
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot c:/xampp/htdocs/diafol
ServerName diafol.local
</VirtualHost>
and then in your hosts file:
e.g. C:\Windows\System32\drivers\etc\hosts
127.0.0.1 localhost
::1 localhost
127.0.0.1 diafol.local
However if everything is in the same parent directory ('home'), can't see why session should fail.
diafol
Keep Smiling
10,655 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,510
Skill Endorsements: 57