The first question is, how do your users log in to your applications? Is there some single sign-on solution in place? If so, this solution should also address single sign-out.
Your question is tagged with CAS: CAS not only supports Single Sign-On, but also Single-Sign Out.