Jump to content

Session_destry() not destroying the session


reisve

Recommended Posts

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:

 


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

 

Can someone help me out with this?

 
 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.