When I use function session_destroy(), I have found that it still exists.(The session file like this sess_1983.....) In php.ini, session.use_cookies= 1
session.cookie_lifetime= 0
So I guess the session will expire after the browse is closed even if session_destroy() is called. Perhaps it is a bug. Any better method to destroy the session?