ASCIIDuck Posted July 7, 2006 Share Posted July 7, 2006 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 More sharing options...
hackerkts Posted July 7, 2006 Share Posted July 7, 2006 What about trying to use this[code]<?phpsetcookie ("username");setcookie ("keyid");?>[/code] Link to comment https://forums.phpfreaks.com/topic/13925-problems-with-deleteing-cookies/#findComment-54276 Share on other sites More sharing options...
ASCIIDuck Posted July 7, 2006 Author Share Posted July 7, 2006 That did the same thing as what I had. Link to comment https://forums.phpfreaks.com/topic/13925-problems-with-deleteing-cookies/#findComment-54469 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.