Hey folks. A quickie, I hope. I'm just looking for a way to verify whether a session is active. Here's my scenario...
I have an online testing system and I keep track of a variety of bits of info about the student and his/her exam. Now when the student submits the exam, I end the session. However, if someone were to hit the back button, I want to have something in my script which basically goes: if there's no active session, redirect to another page.
Is there a call, maybe something like:
if (!isset(session))
{
go to another page;
}
I'm looking for something like that. Any ideas?
Jason