0 Replies Latest reply on Aug 28, 2007 9:03 AM by Kevin Galligan

    Message after log out

    Kevin Galligan Newbie

      Is there an easy way to add a message after a user logs out? Logout is handled with 'Identity.instance().logout()'. I'd like to have some type of a message on certain logout events. Specifically for this one, if the same user logs in somewhere else, we log the previous instance out and i want to put something like, "You have been logged out because (whatever)".

      I tried just adding it to the FacesMessages, but that gets dumped with the session. Any thoughts?

      Thanks in advance,
      -Kevin