vendredi 3 juin 2016

Unable to create cookie which isn't httponly in Laravel Cookie::queue

I want to create a cookie with httpOnly = false, This is What I am doing now,

Cookie::queue("key", "val", 30, null, null, false, false);

but i can't access that cookie in javascript, also i noted that http flag is set in the developer tools for that cookie.

Did i missed something?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire