1 Reply Latest reply on Jul 18, 2008 9:30 PM by infinity2heaven

    Logout functionality

    caron

      Hi,


      I am looking at the current implementation of an existing application's logout functionality.


      This is what happens:



      1. for each conversation, end the hibernate session

      2. for each conversation, end the conversation

      3. call logout() on identity



      Can someone please let me know if closing the conversations and session is necessary.
      Also, generally, is there anything else that should be done in logout functionality?


      Thanks in advance,
      Caron

        • 1. Re: Logout functionality
          infinity2heaven

          As far as I understand, identity.logout takes care of 1 and 2 (you can actually see this for yourself by opening seam.debug page after logout and that none of the conversations are open.


          <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>