homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

email page not updating

 10:39 am on Oct 15, 2010 (gmt 0)

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.

CreateMHTMLBody Method [msdn.microsoft.com]

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved