session_start ();
session_destroy ();
echo "<script language='javascript'>window.location='yoururl'</script>";