Typo:
session_destroy() is the correct function.
Another way is to use unset($_SESSION) or set $_SESSION = array();
Either way works by wiping out the content of the session. A file may be still in existence until the garbage collection mechanism cleans it up.
*************
Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session in c:\websites\sntradersonline22\sntradersonline.com\logout.php on line 5
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.