Best way for allowing subdomain session cookies using Tomcat

后端 未结 5 1537
攒了一身酷
攒了一身酷 2020-12-04 19:52

By default tomcat will create a session cookie for the current domain.

If you are on www.example.com, your cookie will be created for www.example.com (will only work

5条回答
  •  囚心锁ツ
    2020-12-04 20:28

    This is apparently supported via a configuration setting in 6.0.27 and onwards:

    Configuration is done by editing META-INF/context.xml

    https://issues.apache.org/bugzilla/show_bug.cgi?id=48379

提交回复
热议问题