Jump to content

Problems with deleteing cookies


ASCIIDuck

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");
?>
Link to comment
https://forums.phpfreaks.com/topic/13925-problems-with-deleteing-cookies/
Share on other sites

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.