Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Will the cookies be shared across multiple subdomains, if all subdomains point to the same single website?

I would like to create website, which can behave differently based on subdomains.

If I set a certain cookie on subdomain A, can I read/access it on subdomain C?
Or the cookie binds to the subdomain?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

I suggest you read this question post, in summary it says that what’s important is the domain parameter you define to set the cookie. What your looking for is something like this ".mydomain.com".

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading