razorblue said:any idea how i can close the session via a link? Ie logout?
that didnt work, but this didl0rdphi1 said:See http://www.php.net/session_write_closePHP:if ( $_REQUEST['page'] == 'logout' ) // or whatever { session_write_close(); }
I suppose that will work anyway; not following this thread.![]()
<? session_start(); $_SESSION = array(); session_destroy(); ?>