I can find articles about Symfony1 and Symfony2, but
We are developing the Symfony 3 series.
As per the title, I want to add a secure attribute to the cookie, but I don't know how to set it.
How should I set it up?
I didn't know how to use it, but
Thank you for your advice.
I set "$secure" to "true" when I did new, similar to the following:
$cookie=new cookie($key,$data,$expire,$path,$domain,$secure,$httpOnly);
© 2024 OneMinuteCode. All rights reserved.