Jump to content

Archived

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

ASCIIDuck

Problems with deleteing cookies

Recommended Posts

I never thought the log *out* script would wind up giving me trouble! When I use Firefox, the following code segment doesn't delete the cookies, so the user isn't logged out, however, it works in IE. Any idea how to fix this?
<?php
setCookie("username","",time()-50000);
setCookie("keyid","",time()-50000);
header("location: http://ronksales.com");
?>

Share this post


Link to post
Share on other sites
What about trying to use this
[code]<?php
setcookie ("username");
setcookie ("keyid");
?>[/code]

Share this post


Link to post
Share on other sites

×

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.