3.2.0

XML Refresh


I'm puzzled... After displaying a grid with data from a XML file, doing a refresh displays always the same data even if the XML file is deeply changed. It only refreshes if I close IE, run IE and load the page again.

Any solution for this problem? (I searched the forum and found no similar situation).

Thanks,
CSeca
March 24,
I am still unable to refresh the grid...

Any help, please??


CSeca
March 28,
hey..CSeca
I met this issue too. It looks it is not problem of ActiveWidget. Blow is my solution for php

//send a expires header
header("Expires: Tue, 21 May 1999 12:34:56 GMT ");
//create XML Data dynamically
....

Felix Xue
March 29,

I understand it's not an ActiveWidget problem. I was only asking for some kind of solution.

Thanks for helping me! In ASP I'm Sending <%Response.Expires=-1%> and everything works really fine now...
CSeca
March 29,
I am writing my app in ASP.NET I am having same problem. Can anybody help?

Tara
Tara
March 31,
Response.Expires is not working for me....Please help

Tara
Tara
March 31,
Try to add som random at the end of the request url.
table.setURL("/csv.php?random=12311");

Change the number with every request.

Toke
April 1,
Thanks a lot for your help.. Things are working perfectly fine now.
Thanks a lot again..
Tara
April 1,
And what about HTML code?
How to refresh displays always if the XML file is deeply changed?
Can anybody help me?
Jack
July 8,
I have found (I guess) solution for html code:
<header>
<META HTTP-EQUIV="Refresh" CONTENT="30" "javascript:location.reload()">
</header>

Jack
Jack
July 12,
Sorry it doesn't work.
I was so fast.
Jacek
Jack
July 12,
I have this problem too and the random number solution doesnt seem to work.
Please Help!
Del
May 12,
The same problem I am facing inside a JSP page that contains a grid.I want to changes userPreferences through popup.The user drop some columns on popup and save the preferences.The XML preferences gets saved but is not loaded/reflected on the actual data.Even it is possible only through manual refreshing.

Can any one find or suggest a solution to this.?

Thanks
Vikramaditya Garg
vikramaditya.garg@fidelity.co.in
Vikramaditya Garg
July 10,
Just giving my contribution for anyone who needs it in the future,

//Loading data from a PHP file that generates the XML
table.setURL("XMLgenerator.php?rand="+Math.random());

...that's all.
Rauldinho
February 19,

This topic is archived.

See also:


Back to support forum