2 Replies Latest reply on Dec 22, 2008 5:46 PM by Andrey Yamshchikov

    Separated user sessions in browser tabs

    Andrey Yamshchikov Newbie

      Hi gurus,


      Is it possible to have separated user sessions in different browser tabs?
      As far as I understand, all tabs in the browser will share the same HTTP session and Seam's Identity is Session scoped, so every time new user opens new tab and login in to same application, user information in the other tab will be lost.
      I've tried Booking example and it seems to be working this way.
      Is this RTFM case?
      Thanks for any advice.

        • 1. Re: Separated user sessions in browser tabs
          Stefano Travelli Newbie

          It's true that all tabs in the browser share the same HTTP session and Seam's identity.


          However you can get a different session and a separate Seam's identity opening the new tab with the privacy mode of the new Google Chrome browser.


          The same functionality should came in the upcoming Firefox 3.1 too, but I don't tried yet.



          • 2. Re: Separated user sessions in browser tabs
            Andrey Yamshchikov Newbie

            Stefano, thank you for the idea, but It would be great to have it browser-independent. I've using Oracle ADF faces for last four years and thought Seam will fix some limitations.
            Looks like I have to create custom identity object to keep user's identity in the conversation, not in the Identity object, but in this case I cannot use Seam to control access to pages.
            It's not a really big deal for my application to have separated user sessions, but nice to have feature, so I'll keep trying to find some workaround.