HrefExists

This method determines whether the specified URL can be found in the cache. It enables a script to gracefully handle missing images, data elements, or other components needed by the script. The URL must be a fully qualified HTTP-style URL.

Syntax

MC.HrefExists(Href)

Example

MC.HrefExists("http://myhome.site.com/personal/index.htm")

Return Values

This method returns 1 if the URL is found in the cache; otherwise, a 0 is returned.