I have used this code to make Enduser can not be able to access the Application pages using browser back button after signout. If the Enduser clicks on browser back button that should need to kick back the user to ApplcationLogin page again. Here that is works fine but after clicking back button it gives one page(Not application login page).This page continence Document Expired message with tryagain button if user clicks on tryagain button the application will relogin.Here is the code.
res.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1.
res.setHeader("Pragma", "no-cache"); // HTTP 1.0.
res.setDateHeader("Expires", 0); // Proxies
chain.doFilter(request, response);