This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi all, I have problem with logout Even though user logout he/she can view last accessed pages which I don't want to be happen. I invalidate the session in logout.jsp still there is a problem. Please help me!
You can add the following code in your JSP <% response.setHeader("Cache-Control","no-store"); //HTTP 1.1 response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader ("Expires", 0); //prevents caching at the proxy server %>
by this your current page wont be cached so when you logout from this page & click back;it will show page has expired.