Hello, i have problem with encrypted cookies.
Here i use encrypted cookie, and after writing cookie i hit f5 and i get strange random string.. if($this->Cookie->read('name')){ echo $this->Cookie->read('name'); }else{ $this->Cookie->write('name','Larry'); } when im not using encrypting, everything is fine and after refreshing page i get "Larry" if($this->Cookie->read('name')){ echo $this->Cookie->read('name'); }else{ $this->Cookie->write('name','Larry',false); } Whats the problem ? why after refreshing page it returns strange value ? When i do: $this->Cookie->write('name','Larry'); echo $this->Cookie->read('name'); everything is fine, but that is not the point.. -- View this message in context: http://n2.nabble.com/encrypted-Cookies-problem---value-of-cookie-tp2964909p2964909.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---