Session Problems - New session ID's being created in ERROR.

From: Date: Mon, 29 May 2000 06:10:25 +0000
Subject: Session Problems - New session ID's being created in ERROR.
Groups: php.version4 
Request: Send a blank email to php-version4+get-15881@lists.php.net to get a copy of this message
It appears that there is no way to break PHP of the bad habit of sending along the path with the cookies it sets. This makes it close to useless for any serious work without some ugle work arounds. For example, setting a session in the /r/ directory sets a cookie with path /r. What this means is when you go to another page in the /a directory, whamo, you get a new session. Yuch. If you think session.cookie_path = / might do the trick, it appears cookie_path doesn't affect much of anything. I've seen this problem crop up a number of places, include Sessions problem earlier today, though most people don't finger the culprit immediatly. I'm hoping I'm missing something and this is some easy fix :) August

« previous php.version4 (#15881) next »