That would make the external page connect to the internal page and run it. you could give it some functionality using the querystring:
<%
GotothisURL = "http://host.com/deletefromdb.asp?ID=" & request.querystring("ID")
Set GetConnection = CreateObject("Microsoft.XMLHTTP")
GetConnection.Open "get", GotothisURL, False
on error resume next
GetConnection.Send
output = GetConnection.responseText
response.write(output)
Set GetConnection = Nothing
%>
To stop other sites from doing this put this script at the top of your page:
<%
dim ref
ref=request.serverVariables("HTTP_REFERER")
if not ref="The page you want to be able to do this e.g.http://isp.com/delete.asp" Then
response.end
End If
%>
That would send a blank page to other sites/scripts that tried to use this method.
P.s Micorosoft http xml lets the server process the asp script before so it will allow you to Query and perform simple changes.
Martin.