Cookies and subdomains

前端 未结 3 501
温柔的废话
温柔的废话 2020-11-30 09:43

Can a cookie be shared between two sites on the same top level domain? Say www.example.com and secure.example.com ? We are looking into implementin

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-30 10:25

    The easiest way to apply a cookie domain that can be shared across subdomains is to put it in your web.config:

    
    

提交回复
热议问题