Hi All,
I have used simple JSP and java files to build my application. All the jsp files have included a 'header.jsp' file, in which there is a Log Out image button. After clicking this button, the page 'logOut.jsp' emerges. In this page, I am invalidating the session. But when I click either back button of IE, or 'backspace' key, I can still access all the pages.
I have used
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
and
<%response.setHeader("Cache-Control","no-cache");%>
<%response.setHeader("expires","0");%>
<%response.setHeader("Pragma","no-cache");%>
in all the pages to clear all the cache.
Please help me expire the pages once logged out.
Thanks in Advance......!
__________________
Nishant
I have used simple JSP and java files to build my application. All the jsp files have included a 'header.jsp' file, in which there is a Log Out image button. After clicking this button, the page 'logOut.jsp' emerges. In this page, I am invalidating the session. But when I click either back button of IE, or 'backspace' key, I can still access all the pages.
I have used
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
and
<%response.setHeader("Cache-Control","no-cache");%>
<%response.setHeader("expires","0");%>
<%response.setHeader("Pragma","no-cache");%>
in all the pages to clear all the cache.
Please help me expire the pages once logged out.
Thanks in Advance......!
__________________
Nishant