you need to set the response header on the focus page (ie) on the login page. check the following code on login.jsp page,
Coding:
response.setHeader("Cache-Control","no-cache"); response.setHeader("Pragma","no-cache");
/ * Note: put this code above any of these codes * /
but I donβt know that the same functionality can be done using javascript / jquery, "awww ... I donβt think so !!!"
source share