Hi

I hve a page with sessions. They work and I get it doing what is suposed to. However, I heve a link to destroy the session (logout) mas the user stays logedin. The script I cal from the logout link is this (the session_start() is in another piece of code befor:e this one):

Code:
<?php
  session_destroy();
  header("Location: index.php");
?>

Can someone help me out with this?