title: i want to display session expired message when i refresh my login page after logout
body: <p>I have created login and logout pages. When I click on logout button, logout page will be displayed but when I refresh the login page again welcome page again displayed.</p>
  
  <p>So, I want to show the message like session has been expired login again.
   I don't know the exact code please can anyone answer my question
  I am using <em>Spring MVC</em> and <em>Hibernate</em>. </p>