I have a some code
$newResponse = $response->withStatus(200)
->withHeader(‘location’, ‘/’);
return FigResponseCookies::set($newResponse, SetCookie::create(‘cookie’)->withValue(‘cookie’)->withPath("/"))
It’s not working for me, cookie is clean after this code, can you help me?