core icon indicating copy to clipboard operation
core copied to clipboard

Cookies are not sent when redirecting

Open Madeorsk opened this issue 4 years ago • 1 comments

When I try to set a cookie and then use Flight::redirect, the cookie is not set.

When I set my cookie and then just write

header("Location:$url");
exit(0);

my cookie is correctly set.

Madeorsk avatar May 22 '20 13:05 Madeorsk

Need to see more of your code to determine where the error is.

Conver avatar Jun 14 '20 02:06 Conver