9 Replies Latest reply on Mar 25, 2008 5:26 PM by Mikael Andersson

    Event on exit browser and end conversation

    Stijn Cremers Novice

      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.