Before sending the data to the browser, use the following code: response.setHeader("Cache-Control","no-store"); response.setHeader ("Pragma","no-cache"); response.setDateHeader ("Expires", 0); This also helps in case, when user should not be able to see previous pages by clicking the Back button in the browser.
Blog on things around me - Quality Management, Free & Open Source Software, Gadgets, Utilities...