Problem With Session

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Problem With Session

Post 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
bionicdonkey
Forum Contributor
Posts: 132
Joined: Fri Jan 31, 2003 2:28 am
Location: Sydney, Australia
Contact:

Post by bionicdonkey »

are you resuming the session when the page changes???
aka
do u have session_start(); on the top of all the pages??
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Post by Jade »

Yep...
Post Reply