Possible Duplicate:
proper way to logout from a session in PHP
I am using session_destroy for logout.Bt it destroys all the session so i found unset a particular session.What is the correct way? session_destroy() or unset(particularsession) for logout?