2 Replies Latest reply on Jun 22, 2009 10:00 PM by israel.bgf

    Session vs. Temporary conversation

    sherkan777

      Hi,
      In my app lot of users open very often reports page in new tab.
      What is best solution to manage report.
      One session bean to all reports of user, or temporary conversation bean for each opened report?


      Is temporary conversation cleaned after page render, like page scope?

        • 1. Re: Session vs. Temporary conversation
          sherkan777

          I mean, one session bean to fill data at each open of the report.


          • 2. Re: Session vs. Temporary conversation
            israel.bgf

            I would say that page scope would be the best bet. But anyway just to clarify:


            Temporary Conversation - Almost the same life time that the EVENT scope, but it lives cross redirects. So yes it is going to be cleaned after page rendering, unless it's a long running conversation.


            Page Scope - Lives cross postbacks, but a new request at this page will make a new component (refreshing the page with F5 for example).