Hi all,
I'm having a slight session problem. My sessions will hold as long as I am in the same domain or subdomain, but as soon as I navigate out of it (even from a subdomain to the domain), it disappears.
I want my sessions to hold for 30 minutes, would I make this a cookie instead of a session? But as I knew it, sessions are supposed to hold until you close the browser. Am I incorrect in this assumption?
-Kerry
Session Trouble (session gone when navigate elsewhere)
Moderator: General Moderators
- aaronhall
- DevNet Resident
- Posts: 1040
- Joined: Tue Aug 13, 2002 5:10 pm
- Location: Back in Phoenix, missing the microbrews
- Contact:
PHP Sessions (normally) use cookies to keep track of users between page loads and match them up with their session data (which is stored on the server side). http://us2.php.net/manual/en/function.s ... params.php should help solve your problem.
Last edited by aaronhall on Thu Sep 21, 2006 3:12 am, edited 1 time in total.