Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Seth Ford   on Jan 09 In Java Category.

  
Question Answered By: Calais Bernard   on Jan 09

I had invalidated session  before, but my problem  didn't solve.
After little search, I found to add the following lines to my pages
and my problem clear.

response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the
proxy server

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Using session attribute in tomcat Or get search suggestion and latest updates.


Tagged: