I am posting an XML string to an API which returns a pdf. This works great on windows 2k pc's but on xp machines i get dialog boxes asking if i want to open the pdf and then one that asks what application to use. Does anyone know how i can suppress the dialog boxes and just have the pdf open in the window the same as win2k?


code------------

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<meta name="application" content="application/pdf">
<% Response.ContentType = "application/pdf" %>
<TITLE>EOC Redirect</TITLE>

<SCRIPT LANGUAGE=javascript>
function openEOC(){
document.getElementById("EOCform").submit()
}

</script>

</HEAD>
<body onload=openEOC()>
<P>&nbsp;</P>
<%
dim requestXml, WSRequest, Status, ResponseText, StatusText, myURL
dim mbr, grp, edate
dim mbrsAraay
mbrsAraay = session("AMemberShip")

mbr = session("xsmeligHCID") '"XFL123456789"
grp = Session("PinCase")&Session("Group")
edate = mbrsAraay(4,1)

requestXml = "<?xml version='1.0' encoding='ISO-8859-1'?>"
requestXml = requestXml &"<eocrequest>"
requestXml = requestXml &"<authentication>"
requestXml = requestXml &"<username>xxxrequestor</username>"
requestXml = requestXml & "<password>xxxx</password>"
requestXml = requestXml & " </authentication>"
requestXml = requestXml & " <request>"
requestXml = requestXml & "<type>pdf</type>"
requestXml = requestXml & " <groupno>"&grp&"</groupno>"
requestXml = requestXml & "<memberno>"& mbr &"</memberno>"
requestXml = requestXml & "<membereffdate>"& edate &"</membereffdate>"
requestXml = requestXml & "</request>"
requestXml = requestXml & "</eocrequest>"


<form method=post name=EOCform action=http://SysTestxxxx.inetdev.anthem.com/EOCWGSApp/EOCWGSRequest>

</form>

Requesting EOC from Server,<br><br>
Please Wait.......

</body>
</HTML>