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");?> Quote 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] Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/13925-problems-with-deleteing-cookies/#findComment-54469 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.