如何将定时的ASP页面存为静态页面?

一个ASP页面,其后台连的数据库每小时更新一次,页面生成较复杂,但访问的人很多,我希望每小时定时生存静态页面。该怎样实现呢?
---------------------------------------------------------------

1   
2Set fso = CreateObject("Scripting.FileSystemObject")   
3'打开一个页面,如果没有则创建它   
4txt_name="xxx.html"   
5set fsoFile = fso.OpenTextFile(server.mappath(txt_name),2,true)   
6'开始写文件,按照HTML格式写,并从数据库中读取数据   
7fsofile.writeline "xxxxxxxx"   
8  
Published At
Categories with Web编程
Tagged with
comments powered by Disqus