J
Jim
Does anyone know why Response.AddHeader "Refresh" does not work when
Response.ContentType = "text/xml"?
The code is very short:
<%
Response.ContentType = "text/xml"
Response.AddHeader "Refresh", "5;URL=http://localhost/ReturnXML2.asp"
%>
<CiscoIPPhoneImage>
<LocationX>-1</LocationX>
<LocationY>-1</LocationY>
<Width>125</Width>
<Height>23</Height>
<Data>Hex GUID goes here</Data>
<Title>The XYZ Company</Title>
</CiscoIPPhoneImage>
If I change the contentType to "text/plain", the page does refresh/redirect
but not when the ContentType is XML. It needs to be in XML for Cisco Call
Manager.
There is documentation out there that makes it seem like executing the above
code is no problem but I can't get it to refresh/redirect. Can anyone shed
any light?
Response.ContentType = "text/xml"?
The code is very short:
<%
Response.ContentType = "text/xml"
Response.AddHeader "Refresh", "5;URL=http://localhost/ReturnXML2.asp"
%>
<CiscoIPPhoneImage>
<LocationX>-1</LocationX>
<LocationY>-1</LocationY>
<Width>125</Width>
<Height>23</Height>
<Data>Hex GUID goes here</Data>
<Title>The XYZ Company</Title>
</CiscoIPPhoneImage>
If I change the contentType to "text/plain", the page does refresh/redirect
but not when the ContentType is XML. It needs to be in XML for Cisco Call
Manager.
There is documentation out there that makes it seem like executing the above
code is no problem but I can't get it to refresh/redirect. Can anyone shed
any light?