Forum Moderators: coopster
It's not the path, it's the domain. Have a look at the setcookie [php.net] page for more information. Well, let's rephrase that, it could be a domain issue -- are you bouncing in and out of different subdomains?
In regards to subdomains on your localhost installation, you can setup <VirtualHost> containers in your Apache configuration and then you can edit your "hosts" file to add the different subdomains.