0

Hi all,

I am totally pulling my hair out at the moment. The pages I have included sessions on all work great except when I make submit a form or basically anything I do in relation to MySQL. Is there a typical reason as to why this would happen?

So weird!!!

Thanks in advance to anyone with some insight.

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by phaedrusGhost
0

I can't (of the top of my head) think of anything that would cause that. You must be doing something wrong with the session (e.g. closing it/clearing the variables).

0

Depends.

All I can think of is that perhaps that in your scripts, if they're standalone files, you haven't included 'session_start();'. Apart from that I've got no idea.

0

Didn't realize this thread was still open. I was able to solve the problem. My host had Registered Globals on by default. I turned it off and no more session issues.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.