<?php
session_start();
session_destroy();//destroy the session

$redirectUrl = "../home";
echo "<script type=\"text/javascript\">";
echo "window.location.href = '$redirectUrl'";
echo "</script>"; 
		
?>