You should be able to check CFHTTP.StatusCode
this will be equal to 404 or 500.
200 is a successful request.
At 11:04 AM 5/9/2001 +00-07, you wrote:
>I'm building a little spider in CF and want to check each page as it's
>retrieved to
>determine whether it contains the expected contents.
>
>Seems like looking for " 404 " in CFHTTP.FileContent won't cover
>everything. Does
>anyone have a good working list of words/phrases that can be used to
>verify links and
>ensure they're still active?
>
>Gene Kraybill
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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