Ticket #95 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

2D image not "refreshing" in XBrain

Reported by: detwiler Owned by: detwiler
Priority: major Milestone:
Component: xbrain Version:
Keywords: Cc:

Description

showimage.jsp sometimes shows old histogram. If page is refreshed it will correct itself. Already tried the following page additions to prevent browser caching:

<% 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 %>

and

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

Change History

comment:1 Changed 12 years ago by detwiler

  • Status changed from new to closed
  • Resolution set to fixed

Addressed by checkins [316] aan [317]. Added the following to both showimage.jsp and to getBrainImage.jsp

<%
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
%>

comment:2 Changed 12 years ago by detwiler

The previous comment was not quite correct, the actual code block added was:

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

comment:3 Changed 12 years ago by detwiler

(In [317]) Added code to prevent browser caching, fixes #95

comment:4 Changed 12 years ago by detwiler

(In [317]) Added code to prevent browser caching, fixes #95

Note: See TracTickets for help on using tickets.