After a lot of tests I can't figure out where the problem comes from.
I have a controller with this:
Cookie::queue('email', 'test@test.te', 60 * 24 * 365);
Then in my view:
And the response is:
email=deleted; expires=Mon, 18-Dec-2017 09:55:51 GMT; Max-Age=0; path=/; httponly
I see that the cookie is created expiring in 1 year, but I still reload the page just in case, but same result. I've tried different cookie names just in case, like 'sdfsdfad43fsa' but same result.
Pretty simple right? I don't get what I'm doing wrong? Maybe some CSRF or some other issue?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire