View Full Version : weird cookie problem

09-27-2004, 10:21 AM
I'm trying to use a simple cookie for a login and logout script.

I can login fine, but I cannot logout at all. I tried removing the cookie the usual way but its not doing it. The cookie is still stored in my browser.

// login.php
header('location: index.php');

header('location: index.php');

May I missing something obvious? Thanks for your time.

09-27-2004, 02:02 PM
how do you know it is still there?

did you close all browserwindows and then checked the cookiedirectory? Did you remove all cookies that were already set from that domain before you tried setting and deleting a new cookie?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum