1 Reply Latest reply on Apr 24, 2012 8:09 PM by mechu

    no active conversation

    kgoedert

      Hi,

       

      I am using conversation scope beans in a project. Sometimes, if the user stays on a page for too long and hits refresh on the browser or any other command button, an exception is thrown with no active conversation message. What is the correct way to deal with this situations?

       

      Thanks

       

      Kelly

        • 1. Re: no active conversation
          mechu

          Hi,

          you have few options

          1. @Inject HttpConversationContext httpConversationContext

          httpConversationContext.setDefaultTimeout() to very high value

          2. catch this exception and start new conversation ? ;p

          3. use something like a4j:keepAlive