mikecao / flightphp.com

Flight website
https://flightphp.com
78 stars 22 forks source link

Cannot set cookies when redirecting #15

Closed Madeorsk closed 4 years ago

Madeorsk commented 4 years ago

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 commented 4 years ago

Uuh I posted this on the wrong repo, sorry...