Re: setPageRefreshOnBacktrackEnabled problem?

Ondřej Čada <[email protected]> Fri, 27 Apr 2012 04:41:33 +0200
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Chuck,

On Apr 27, 2012, at 4:23 AM, Chuck Hill wrote:

> Which browser are you using?

Safari / Mac OS X. The client reported problems from iPad.

> It seems like maybe the browser is caching instead of respecting the =
headers.

Hmmmm..... seems it is so! I've just downloaded FF, and the behaviour =
there is indeed considerably different from Safari, and seems from it, =
it works (more or less) all right. Namely, backtrack does trigger =
dispatch/appendToResponse there all right

(Somewhat inconsistently with what you suggested /or at least with what =
I understood/, the action then _gets_ called all right, too. That's not =
important though.)

Which is bad, since my client rather needs that the app does work with =
iPad/Safari, too. Darn...

> It is probably worth using a proxy for your browser (Charles is one) =
and see if it is actually sending a request.  If not, then it is buggy =
or something is wrong with those headers.  If it IS sending a request, =
then there is a problem in WO or perhaps your web server.  Hmmm, that =
reminds me of something.  Are you using mod_expires in Apache?  It can =
mess with the headers.

The headers look like this:

=3D=3D=3D=3D
HTTP/1.1 200 Apple WebObjects
cache-control: private
cache-control: no-cache
cache-control: no-store
cache-control: must-revalidate
cache-control: max-age=3D0
expires: Fri, 27-Apr-2012 02:32:48 GMT
content-type: text/html; charset=3DUTF-8
pragma: no-cache
x-webobjects-loadaverage: 4
date: Fri, 27-Apr-2012 02:32:48 GMT
set-cookie: wosid=3DsQtMjsY7xerCBetSFGubaM; version=3D"1"; =
path=3D/cgi-bin/WebObjects/CEBOIS.woa
set-cookie: woinst=3D-1; version=3D"1"; =
path=3D/cgi-bin/WebObjects/CEBOIS.woa
content-length: 4140
=3D=3D=3D=3D

Thanks and all the best,
---
Ondra =C4=8Cada
OCSoftware:     [email protected]               http://www.ocs.cz
private         [email protected]             http://www.ocs.cz/oc