title: JSF Conversations ?cid - a right mess when someone bookmarks the page?
body: <p>Working in JBoss AS7, using Conversation Scope to manage the user's interactions within a browser tab.</p>
  
  <p>I note that my pages get ?cid parameters appended. This is great - until the user bookmarks the page then tries to return to it! The Conversation Filter gives a "No such conversation" message.</p>
  
  <p>Is there a better way of managing conversations? Perhaps an implementation or a switch to make it use hidden fields (with appropriate care in AJAX)? Alternatively I'll have to start trying to intercept the Conversation Exception or modify the filter!</p>
  
  <p>Thanks
   - Richard</p>
  
  <p><strong>Further:</strong></p>
  
  <p>I'm intercepting the BeforeRestoreView event for other purpose (login handling mainly). You'd think this would work:</p>
  
  <pre><code>/**
   * @return true if there is no valid Conversation context.
   */
  private boolean conversationNotActive()
  {
      Context conversationContext = m_beanManager.getContext(ConversationScoped.class);
      return !conversationContext.isActive();
  }
  </code></pre>
  
  <p>But I can't get the context to ask if if it's active! Will just throw a Try-Catch in for now.</p>