What does the crossContext attribute do in Tomcat? Does it enable session sharing?

后端 未结 3 757
一个人的身影
一个人的身影 2020-11-30 06:42

All I can find in the Tomcat 5.5 docs is:

Set to true if you want calls within this application to ServletContext.getContext() to successfully return

3条回答
  •  Happy的楠姐
    2020-11-30 07:24

    I tried it myself and I can't find the magical session sharing side effect, so the crossContext attribute only does what the docs say.

    I've posted another question to see if there is a way to share the session state.

提交回复
热议问题