Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
X-Tender opened this issue Sep 3, 2016 · 1 comment
Open

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

X-Tender opened this issue Sep 3, 2016 · 1 comment

Comments

@X-Tender
Copy link

X-Tender commented Sep 3, 2016

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
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants