How do I go about checking if a session is still active before continuing. If the session is still still active I would like it to tell me.
I tried the following without any luck
if(session_id()){
echo "your session is still active.";
}
all it is giving me is a blank screen even though the session is still active.
any ideas?
Thank you.