9 Replies Latest reply on Mar 25, 2008 5:26 PM by mail.micke

    Event on exit browser and end conversation

    cremersstijn

      Hello,


      Is it possible to call a method on some bean when somebody closes the browser or goes to another site?


      And how can you call a method when the conversation ends or timeouts?
      I've tried this:


      @Observer("org.jboss.seam.endConversation")
      public void endConversation(){
           log.info("conversation ended");     
      }




      But it won't work.