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

Get a cookie from a defined path #7

Closed
blecua84 opened this issue Nov 24, 2017 · 1 comment
Closed

Get a cookie from a defined path #7

blecua84 opened this issue Nov 24, 2017 · 1 comment
Labels

Comments

@blecua84
Copy link

Hi guys!

Great module! It's very useful!

I have a question for you. I'm going to receive a cookie in my application from an external CRM. It could be stored with path and domain. Using your library, I've tried to retrieve it using the "get" method with cookies's name, but I can't get it if it was created with specified path.

Can I retrieve a cookie specifying the path that was used to create the cookie?

Thanks you in advance!

Jose

@CunningFatalist
Copy link
Contributor

Hello,

I am very sorry for the late answer. I am quite busy at the moment and guess that this won't change until the end of the year 😀

Have you managed to solve your issue yet?

I will try to answer your question to the best of my knowledge. It is possible to get cookies from different paths, if you're doing this on the server side. It is more hacky and not recommended, if you're using JavaScript. Sources:

I hope this helps.

Cheers

PS: Again, if you solved your issue I would appreciate if you could share your solution here, so that others can use your experience for future reference 👍

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

No branches or pull requests

2 participants