Rev cgi, xmlhttprequest and http headers

jbv jbv.silences at club-internet.fr
Fri Sep 12 10:32:26 EDT 2008


Hi list,

I'm using Rev cgi for an xmlhttprequest in a web page.
Everything works fine, except on IE6 where the display of some xml data
refuses to refresh...

My question : am I right to try to set the http headers (on the Rev cgi
side)
so that it "forces" the browser to refresh the xml content ?

Here's the code I'm using to do so :

    put "Cache-Control: no-cache" into myHeaders
    put cr & "Pragma: no-cache, must-revalidate" after myHeaders
    put cr & "Expires: 0" after myHeaders

    set the httpheaders to myHeaders

I might be missing something, because even if I include the above code
in
my cgi script, the xml content still doesn't refresh in IE6...

Thanks in advance,
JB




More information about the use-livecode mailing list