I've upgraded Laravel from 4.0 to 4.1. My application sets Cookies, which I also use in javascript. Now they get automatically encrypted, thus not readable anymore in javascript. I can't find how to disable the encryption for particular cookies When I try to set them with PHP setcookie native function, they don't persist.
Is there a solution for this?
I fixed it setting the cookies with php native function setcookie in the app::after filter. In each request I re-set the cookies because laravel clears them while processing the request.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With