Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   Determine a valid session. (http://www.go4expert.com/forums/determine-valid-session-t439/)

Marc 12Sep2005 08:30

Determine a valid session.
 
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.

coderzone 12Sep2005 10:16

Re: Determine a valid session.
 
Code:

if(isset($_SESSION['ArrayName']))
{
  //Valid session
}
else
{
  //Invalid session
}


shabbir 12Sep2005 22:30

Re: Determine a valid session.
 
Quote:

Originally Posted by Marc
Also the thread http://www.go4expert.com/showthread.php?t=2 helped me a lot in learning PHP.

Thanks.


All times are GMT +5.5. The time now is 15:01.