View Single Post
Old 05-31-2012, 03:23 PM   PM User | #2
djpaul1963
New Coder

 
djpaul1963's Avatar
 
Join Date: Apr 2012
Location: Athens GR
Posts: 65
Thanks: 0
Thanked 8 Times in 8 Posts
djpaul1963 is an unknown quantity at this point
You can add a Timer object with the time span you need (let's say one minute) and get the XML again BUT you most probably face a caching problem where the XML contents will remain the same because the XML name didn't change.
There are 2 options for that. First, rename the XML (or add a parameter to its filename) but this option s valid only if you can administer the server or disable http caches in your code and cross your fingers to succeed because it's not always possible to persuade server with this.
A sample of what you need can be found here http://stackoverflow.com/questions/4...shot-test-code
djpaul1963 is offline   Reply With Quote