i all,
I'm trying to set expires header correctly on the pages, to the old date. so that ip phone does not keep it in cache.
I set it via the following way:
response.setContentType("text/xml");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader(HttpHeaders.EXPIRES, HttpFields.parseDate("Sat, 26 Jul 1981 05:00:00 GMT"));
response.setHeader("Pragma", "no-cache");
response.setDateHeader("Max-Age", 0);
response.setStatus(HttpServletResponse.SC_OK);
and I can see in the wireshark traces that it's correctly set. file attached.
but when someone clicks the back key (SoftKey:Exit) it still navigates to that page.
can anyone tell me what I'm doing wrong?
Thanks,