This function is used to remove an already resolved host from the host name cache of a user. If a hostname cannot be found in the host name cache during replay, it has to be resolved (again). If the Emulate DNS lookup checkbox is checked every user sends its own DNS query to the DNS server (otherwise it is possible that the system caches the response of a prior DNS query).
WebAPI.bdh
WebRemoveFromHNC(in sHostName : string): boolean;
true if the host name cache has been updated successfully.
false otherwise.
Parameter | Description |
---|---|
sHostName | Name of the host that should be deleted from the host name cache. |
dcltrans transaction TMain begin WebPageUrl("http://lab3/shopit/", "ShopIt - Greetings"); WebRemoveFromHNC("lab3"); WebPageUrl("http://lab3/", "home page"); end TMain;