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

no active conversation

kelly goedert Apprentice



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?





  • 1. Re: no active conversation
    mechu Newbie


    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