Soltution to Session weirdness - sessions not sticking/new ones being generated

[email protected] ("August Zajonc")
Newsgroups php.version4
Message-ID <000501bfc939$ff1e2df0$2dc3fea9@aontic>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.