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.