ASP.NET Session Cookies - specifying the base domain

前端 未结 3 2044
野性不改
野性不改 2020-12-05 14:41

By default, ASP.NET will set its cookies to use \"mydomain.com\" as their base. I\'d prefer to have them use \"www.mydomain.com\" instead, so that I can have other \"sub.my

3条回答
  •  温柔的废话
    2020-12-05 14:55

    Session uses only one cookie, so why don't you set domain only for ASP.NET_SessionId cookie ?

提交回复
热议问题