Chrome doesn't create cookie for domain=localhost in broken https

后端 未结 4 1585
耶瑟儿~
耶瑟儿~ 2020-12-08 22:43

I have application on my localhost in https. But the certification on localhost is broken.

Below, response header. Problem: MyCookie is not created:

         


        
4条回答
  •  青春惊慌失措
    2020-12-08 23:21

    Explicit setting domain cookie on localhost doesn't work for chrome.

    From this:

    You can only set domain cookies for registry controlled domains, i.e. something ending in .com or so, but not IPs or intranet hostnames like localhost

提交回复
热议问题