[thelist] php session problems on meo

Seb seb at members.evolt.org
Sun Apr 28 10:45:01 CDT 2002


At 12:42 28/04/2002, you wrote:
>Has anyone had, or knows how to fix problems with php sessions on meo? When
>I login my script is supposed to start a session, however when I go on to
>other pages I'm sent back to the login page. The page which is meant to
>start the  session doesn't even try to set the session cookie. There is no
>whitespace at all before I try to start the session either, so that can't be
>the problem,and I don't have any other ideas as to what it could be.


Can we see the code, or at least the logic?

Sessions are definitely enabled on meo, you can check this using <?
phpinfo(); ?> (Create a script with only this function in it, then hit it
in a browser.) You'll notice that session support is on, that
auto-session-start is off, and the session identifier is PHPSESSID.

Are there any includes before the session start? Do they have any
whitespace at the top or bottom at all?

Can you give us a little more information to guess with?

Cheers,

Seb.







More information about the thelist mailing list