Page 1 of 1

Problem With Session

Posted: Thu Mar 27, 2003 3:50 pm
by Jade
Hey!

I run an internet game using sessions. Only problem is that my sessions seem to be ending every few minutes instead of the hour that i have them defined to last at and they keep logging my members off. Any suggestions?? My members are getting very annoyed with this and I want to fix whatever is wrong as soon as possible.

Jade

Posted: Thu Mar 27, 2003 3:59 pm
by bionicdonkey
are you resuming the session when the page changes???
aka
do u have session_start(); on the top of all the pages??

Posted: Thu Mar 27, 2003 4:02 pm
by Jade
Yep...