JSF Session issue in different browser windows

前端 未结 2 1662
灰色年华
灰色年华 2021-01-29 04:41

We have an application which is built on JSF 2.0(MyFaces) and runs on Weblogic app server. We are facing an issue regarding http Session.

Issue: Suppose

2条回答
  •  轮回少年
    2021-01-29 05:26

    The behavior exposed is expected. If you need "window" scope, take a look at MyFaces CODI Wiki @WindowScoped. Other alternative is use MyFaces Orchestra and use a different conversation context.

    JSESSIONID is a cookie used by servlet spec to diferentiate between sessions, but is shared for all windows of the same browser.

    For more detailed information ask on MyFaces Users and Dev Mailing Lists.

提交回复
热议问题