You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Makundi (JIRA)" <ji...@apache.org> on 2017/06/02 10:00:10 UTC

[jira] [Updated] (WICKET-6358) Possibility for each browser tab to have independent wicket session

     [ https://issues.apache.org/jira/browse/WICKET-6358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Makundi updated WICKET-6358:
-----------------------------------
    Attachment: Wicket_Quickstart_7.zip

1. I tried to make a test app based on the demo app, but the problem seems to be that I get new session for every request regardless if it is same window or different window, see attached quickstart.

2. Is it necessary to manage the cookies in javascript can't this be done on server side in request cycle without javascript?

> Possibility for each browser tab to have independent wicket session
> -------------------------------------------------------------------
>
>                 Key: WICKET-6358
>                 URL: https://issues.apache.org/jira/browse/WICKET-6358
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 8.0.0-M5
>            Reporter: Martin Makundi
>            Assignee: Martin Grigorov
>         Attachments: Wicket_Quickstart_7.zip
>
>
> Here are a couple of discussions on the topic:
> https://myfaces.apache.org/orchestra/myfaces-orchestra-core/multiwindow.html
> http://stackoverflow.com/questions/368653/how-to-differ-sessions-in-browser-tabs
> http://stackoverflow.com/questions/4970004/support-multiple-browser-tab-session-j2ee-web-application
> Currently in wicket if user wants to safely use two browser windows in the same application, they must login from different browsers (or use some suitable browser-specific private browsing mode).
> We would like to add functionality into wicket to allow:
> - automatic detection of new browser tab
> - configuration option which would keep independent wicketsession for each browser tab (initially clone from wicketsession of window that opened new tab)
> - possible solution: pagemap and wicketsession could go hand in hand, each pagemap with its own wicketsession to keep them insulated
> We'll start working on this immediately, all suggestions welcome.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)