Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

ASP.NET Core 1.0 Cookies empty on subdomain #4197

Closed
tdesmas opened this issue Mar 1, 2016 · 4 comments
Closed

ASP.NET Core 1.0 Cookies empty on subdomain #4197

tdesmas opened this issue Mar 1, 2016 · 4 comments

Comments

@tdesmas
Copy link

tdesmas commented Mar 1, 2016

I'm currently developing an ASP.NET Core 1.0 website but I've got a problem. The context is that my website is using a subdomain like sub.domain.com I set cookies on my application and it's working great.

When I go to the domain.com application, some cookies are set too.

Then, when I come back to sub.domain.com, the first cookies are still set and sent to the application but if I debug the application I see that the request context doesn't contain any cookie, nor the one I sent, nor any other one.

Do you have any idea ?

@Eilon
Copy link
Contributor

Eilon commented Mar 7, 2016

@Tratcher any idea on this?

@Tratcher
Copy link
Member

Tratcher commented Mar 7, 2016

Invalid cookies? aspnet/HttpAbstractions#515

@danroth27
Copy link
Member

@tdesmas Can you confirm that your cookies are well formed? The RC1 bits are pretty strict in how they parse cookies.

@danroth27
Copy link
Member

Closing for now. Please reactivate with the requested data.

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

No branches or pull requests

4 participants