2 Replies Latest reply on Aug 28, 2009 1:44 AM by Gus Gu

    Can remove all conversations from session attribute "org.jboss.seam.CONVERSATION.."

    Gus Gu Expert

      After a long time struggling, I still couldn't find a good way to remove all conversations. Now I have an idea and try to remove them from session attribute "org.jboss.seam.CONVERSATION#", like:

      for (Iterator<String> iter = new EnumerationIterator<String>(session.getAttributeNames()); iter.hasNext();) {
              String name = iter.next();
              if (name.startWith("org.jboss.seam.CONVERSATION#") {

      Experts can give some advice? Thanks a lot.