Sunday, November 29, 2009

PHP cookie problems.....?

Hey guys, sorry for asking so much!



I'm having issues with my logout system. It's really strange.... the logout page, which deletes the cookie with this:



setcookie("account", null, 1);



will destroy the cookie.... usually. Here's the catch - if it's the first time the user has been to the site, it won't log them out. They have to manually delete the cookie, THEN it will work normally.



What's the deal here? Any suggestions would be great.



~~~



Let me clarify the problem, or you can check it out yourself (sbboard.com/auslander/home.php.... still in development!).



I go onto it from a computer that's never been there, and it doesn't work. The logout page loads, and follows the redirect, but doesn't delete the cookie.



I go and delete my cookies, then I can log in and out millions of times without problem. What's the deal here?



PHP cookie problems.....?microsoft xp



check here maybe for some links:



http://www.google.co.uk/search?hl=en%26amp;q=o...

No comments:

Post a Comment

 
c++