Soltution to Session weirdness - sessions not sticking/new ones being generated
| From: | August Zajonc | Date: | Mon, 29 May 2000 06:49:10 +0000 |
| Subject: | Soltution to Session weirdness - sessions not sticking/new ones being generated | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15882@lists.php.net to get a copy of this message | ||
I took a look at the source code, and unfortunatly couldn't really dig deep
because I'm not on my development machine and can't look at network traces.
I'd be curious to know if semicolons were being properly sent out. Why not
use the functions in head for cookies? A network trace would answer these
questions in a second.
A shorterm workaround is to stick something like this on your page:
setcookie(session_name(), session_id(), 0, "/", "");
Hope that helps the folks battling sessions. It worked for me like a charm.
August