【问题标题】:Every refresh new jsessionid is created of vaadin application每次刷新新的 jsessionid 都是由 vaadin 应用程序创建的
【发布时间】:2013-10-23 10:59:52
【问题描述】:

每次刷新新的 Jsessionid 都是由 google chrome 中的 vaadin 应用程序创建的,这就是为什么,我遇到了问题,但是如果 mozilla 使用退出 jsessionid,这就是为什么它对我来说我想使用像 mozilla 这样的 google chrome,这意味着在刷新 chrome 之后应该使用exiting Jsession .pls帮助我

如果是chrome url,例如:-localhost:8080/app 如果是 mozilla url,例如:-localhost:8080/app/

如果我们像 google chrome 中的 mozilla 一样手动添加 url 的尾部斜杠,它会正常工作。请帮助我们在 chrome 的情况下添加 url 的尾部斜杠。

【问题讨论】:

    标签: javascript eclipse google-chrome tomcat vaadin


    【解决方案1】:

    尝试使用 sessionCookiePathUsesTrailingSlash 和 context.xml,例如:

    <Context path="/app/" sessionCookiePathUsesTrailingSlash="true" />
    

    【讨论】:

      猜你喜欢
      • 2014-01-15
      • 2013-04-01
      • 2014-10-09
      • 1970-01-01
      • 2016-02-03
      • 2020-12-29
      • 1970-01-01
      • 1970-01-01
      • 2011-10-04
      相关资源
      最近更新 更多