Hi,
I have a page that can return either html, xml or plain text. The header can be set up to contain the reply content type in this way:
p_web.ReplyContentType = 'text/html'
for html, and similarly 'text/xml' for xml and 'text/plain' for plain text.
The page is a NetWebPage procedure that contains no controls. In the Processed Code embed I then set ReplyContentType to the required type and then setup the packet variable.
But it seems to have no effect. When the content is XML it doesn't display the text but View Source shows it all. Seems like content type is not properly set in this way.
Thanks