Are you using Sessions or Cookies?
To destroy a cookie, use this code:
<?php
// set the expiration date to one hour ago. you might need to change the time to however long you set it to.
setcookie("cookie_name", "", time()-3600);
?>
If you are using sessions, you can use this...