to login I use ajax form and I am trying to setcookie on action
and it just does not set the cookie in this action .
When I redirect the page to different controller , action and set 
cookies there its working.

Why cookie does not work on action with ajax form ?

did that
setcookie("remember_me", '3', time()+3600);
and that
$_COOKIES['remember_me'] = '3';

thanks for help

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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