Wolphie Posted February 26, 2009 Share Posted February 26, 2009 I have a problem when trying to remove cookies. I use setcookie('COOKIE_NAME', '', time() - 3600); To remove the cookie, however, the cookie isn't being removed. Anyone had a similar issue? Quote Link to comment Share on other sites More sharing options...
Wolphie Posted February 26, 2009 Author Share Posted February 26, 2009 Never mind I found the problem, I'm using AJAX to make this request, therefore data has already been sent when the setcookie() function is called. Quote Link to comment 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.