Cookies with and without the Domain Specified (browser inconsistency)

前端 未结 2 704
萌比男神i
萌比男神i 2020-12-04 17:25

I\'ve noticed that there are some real inconsistencies between browsers in terms of cookies.

This is going to be rather long so bear with me.

Note:

2条回答
  •  天命终不由人
    2020-12-04 18:31

    Can't help with why the cookies are treated differently, but a quick fix would be to use a different cookie name per sub-application rather than using the domain of the cookie.

    In the case of Forms Authentication, change the name of the ASPXAUTH cookie.

提交回复
热议问题