i have written a quick script to email a dynamic web page on a daily basis in asp using cdosys, i have updated the dynamic page yet it appears to be sending the old page? Whats happening?
2:31 pm on Oct 15, 2010 (gmt 0)
Did your script take the snapshot of the page before you replaced it or after? (I assume after) Do you save the snapshot to a folder before sending it with cdosys? My guess the temporary file is not being deleted, thus you getting an older copy.
9:41 pm on Oct 15, 2010 (gmt 0)
no i just used a send web page using cdosys script. any way i can force an update on these pages?
2:55 pm on Oct 18, 2010 (gmt 0)
How are you capturing the output of the page? Maybe something in that process is the problem, not CDOSYS.
10:39 pm on Oct 22, 2010 (gmt 0)
What do you mean? The HTML body = weburl in the script
6:24 pm on Oct 23, 2010 (gmt 0)
Ok I am going to admit I didn't know CDO could pull down a webpage directly, so I assumed you were using a 3 party download took then sending this to CDOsys.
So only thing I can think of is you are not setting "urlgetlatestversion Field" to true, so it is using a previously cached version when you tell it to email the webpage.