Support the ongoing development of →
Security Database Testing
Last updated 1 year ago.

I did a search and came across this, but to no avail.

09:53 bittyx-work : sjaak_trekhaak: Hey, just to get back to you on that cookie thing - I've realized afterwards that Laravel's CookieJar just makes Symfony Cookies anyway, so instead of doing:

$response->withCookie(Cookie::make('name', 'value'));

You can just do:

$response->withCookie(new Symfony\Component\HttpFoundation\Cookie('name', 'value'));

and it works great (ie. I don't get an encrypted cookie value).

Last updated 1 year ago.

Sign in to participate in this thread!


Your banner here too?

Cleanse cleanse Joined 22 Mar 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.