logout and redirecting session in php
<p>the below one is the link in my php site.. after clicking this button the user's session should be terminated and he should be redirected again to the home page.. i have written the coding for this concept as follows but it shows me only a blank page(it is not redirected to the home page).. 
please correct my codings</p>

<pre><code>&lt;a href="Logout.php"&gt;
click here to log out&lt;/a&gt;
</code></pre>

<p>codings in the Logout.php a follows</p>

<pre><code>&lt;?
session_start();
session_unset();
session_destroy();
ob_start();
header("location:home.php");
ob_end_flush(); 
include 'home.php';
//include 'home.php';
exit();
?&gt;
</code></pre>
