Page 1 of 1
[solved]checking a session ha s ended
Posted: Wed Jan 12, 2005 1:48 am
by pelegk2
i want to check on each page the user has entered that the session has ended to i will redirect him to login again
how do i do that?
thnaks i bnadvance
peleg
Posted: Wed Jan 12, 2005 2:05 am
by feyd
well, there's that the user will get a new id, and where you haven't recieved communication from the passed id in x amount of time.
We've talked about this on numerous occasions...
Posted: Wed Jan 12, 2005 2:33 am
by CoderGoblin
If you store a variable in the session (e.g user_id) you can check to see if the user_id exists on each page.