Dom,

I am beginning to think that you are right. I tried using Firefox and never
see the problem using that browser, so this is an IE problem. However, I
tried:

xdmp:add-response-header("Pragma", "No-Cache")
,
xdmp:redirect-response( concat("ControlPanel.xqy?MODE=QUERY&WHICHQUERY=",
$WHICHQUERY) )

but that did not help with IE's intermittent refusal to update the page.
Does add-response-header actually work in conjunction with
redirect-response?

Neil.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dominic
Mitchell
Sent: 30 November 2007 09:51
To: General Mark Logic Developer Discussion
Subject: Re: [MarkLogic Dev General] Needing to wait for document update

Neil Bradley wrote:
> In any case, the page redirected to has the following the <head> tag to
> prevent such problems:
> 
>     <meta http-equiv="Expires" content="-1" />
>     <meta http-equiv="Pragma" content="no-cache"/>
>     <meta http-equiv="Cache-Control" content="no-cache"/>

I would not tend to rely on these.  It's better to explicitly set the 
HTTP headers.

-Dom
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to