Setting header for cache control and expiry won't work if refreshed

IHAtEHAVINGFUn

New Member
so after logout when i hit the back button it displays firefox page of "DOCUMENT EXPIRATION".. and afterwards if i refresh or hit try again it returs me the jsp which is not desirable. this problem is limited to those page whose action is a post i suppose.. Tell me how to prevent this thing..\[code\]response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate");response.setHeader("Pragma", "no-cache"); response.setDateHeader("Expires", 0); \[/code\]
 
Top