This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Vivek K Jain
Greenhorn
Posts: 19
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have set this in a servlet that renders my jsp :


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..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!