I have a database of a few hundred sites. I'd like to use CF to automatically check to 
see whether the sites are up so I don't have to do it by hand. The solution I came up 
with is to use cfhttp.statuscode to check whether the site is up. I loop through the 
list and update the database accordingly. My code works, but it takes forever. Two 
questions:

1) Is there a way I can break the site list into chunks, and have the template check 
the statuscode of 20 sites at a time instead of all of them? I recall someone 
suggesting this solution for sending thousands of emails with CFMAIL, but I couldn't 
find that post in the archives.

2) Is there a better way of doing this instead of cfhttp.statuscode?

Thanks for any assistance.

Marc Garrett


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to