I have created a simple logout script which has this at the top of the page:
<?php
session_start();
session_destroy();
?>
but when i link a page to this it doesnt remove the sessions, but if i hit the refresh button on the broswer it removes it, why is this happening?