title: Logout control not working
body: <p>I have login/logout links in the main layout of my application, in the manner described by David Leedy in this video: <a href="http://notesin9.com/index.php/2012/03/09/notesin9-049-xpages-login-and-logout/" rel="nofollow">http://notesin9.com/index.php/2012/03/09/notesin9-049-xpages-login-and-logout/</a></p>
  
  <p>Everything works fine, except for the logout link. The code for the link is:</p>
  
  <p><code>facesContext.getExternalContext().getRequest().getContextPath() + "?Logout&amp;redirectTo=" + facesContext.getExternalContext().getRequest().getContextPath()</code></p>
  
  <p>When it is clicked, then I get logged out and returned to the homepage, which is fine. But then if I refresh, or click onto another page, I am immediately logged back in without a password prompt. Is this because there is a session saved on the server which is not being cleared? How can I change this so that after logging out, someone would have to go through the full login process again before being logged in?</p>