:: Forum >>

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
Thursday, March 24, 2005
I am still unable to refresh the grid...

Any help, please??


CSeca
Monday, March 28, 2005
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
Tuesday, March 29, 2005

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
Tuesday, March 29, 2005
I am writing my app in ASP.NET I am having same problem. Can anybody help?

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

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

Jack
Jack
Tuesday, July 12, 2005
Sorry it doesn't work.
I was so fast.
Jacek
Jack
Tuesday, July 12, 2005
I have this problem too and the random number solution doesnt seem to work.
Please Help!
Del
Friday, May 12, 2006
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
Monday, July 10, 2006
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
Monday, February 19, 2007

This topic is archived.


Back to support forum

Forum search