the easiest way would be to CFHTTP the site and make sure you get a valid response back and not an error or a timeout. that is really the most reliable method and is how most of this uptime services work.
On Thu, Oct 13, 2011 at 2:38 PM, Che Vilnonis <ch...@asitv.com> wrote: > > I have a niche directory website that lists dozens of other related sites. > What would be the best way to determine if a web site is up/down so I can > programmatically make a site active or inactive? I was thinking of just > creating a scheduled task and using <cfhttp> and looking for a status code > of "200". Are there any better ways? > > Thanks, Che > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348093 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm