Here is what I'm reading:

* A user logs in and gets a cookie.
* A user logs out and the cookie is destroyed. (om nom nom)
* A user logs in and the cookie is back?!

Double check exactly when that cookie is being set.

On 7/9/08, Kyle Decot <[EMAIL PROTECTED]> wrote:
>
>  I am having a strange problem with cookies. when a user is logs in a
>  clicks a button, i create a cookie with javascript called
>  remindMeLater. When the user logs out, i destroy the cookie w/
>
>  setcookie('remindMeLater', '', time()-1000);
>
>  The user is then redirected back to the login screen where I do a
>  print_r($_COOKIE) and the cookie is no longer there. When the user
>  logs back in however and goes to example.com/dashboard/ i do a print_r
>  again and the cookie is there! I am completely baffled by this. Anyone
>  know what could be causing this?
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to