dflydev / dflydev-fig-cookies

Cookies for PSR-7 HTTP Message Interface.
MIT License
224 stars 29 forks source link

FigRequestCookies::get doesn't respect Path? #18

Open X-Tender opened 8 years ago

X-Tender commented 8 years ago

I create two cookies with the same name but for different path. one for "/" and one for "/admin". When I read out the cookie in the "/" path or "/admin" I always get the same. When I use the PHP $_COOKIE variable I get the correct cookie for the correct path,.

simensen commented 8 years ago

@X-Tender Can you share a code sample showing how you are reading/setting the cookies along with the expected vs actual values you get from each place?

Thanks.