Determine a valid session.

Newbie Member
12Sep2005,08:30   #1
Marc's Avatar
How could i determinate if the session is valid, (didn't finished or closed or destroyed)? Also the thread http://www.go4expert.com/showthread.php?t=2 helped me a lot in learning PHP. Thanks for the links.
Team Leader
12Sep2005,10:16   #2
coderzone's Avatar
Code:
if(isset($_SESSION['ArrayName']))
{
  //Valid session
}
else
{
  //Invalid session
}
Go4Expert Founder
12Sep2005,22:30   #3
shabbir's Avatar
Quote:
Originally Posted by Marc
Also the thread http://www.go4expert.com/showthread.php?t=2 helped me a lot in learning PHP.
Thanks.