Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Session expired or never started?
- Derek Fountain
February 4, 2005, 9:44 pm
rate this thread
checks for a value in the session. If the person never logged in the
session is empty and they get bounced to the login page. But if the person
has been sat at a normal page for 15 minutes after logging in,
session_start() works as if a session ID has not been presented, starts a
new session which is empty and the user gets bounced to the login page!
I feel like I've missed a step. How can I tell if a user doesn't have a
valid session ID because they've never logged in, or whether they don't
have a valid session ID because their session has timed out?
The email address used to post is a spam pit. Contact me at
http://www.derekfountain.org : <a
href="http://www.derekfountain.org /">Derek Fountain</a>
- R. Rajesh Jeba Anbiah
February 4, 2005, 7:52 am
Re: Session expired or never started?
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com /