>Michel one thing about expires is the following if you are in diferent time zones then you can have a problem since what IIS is doing is putting a datetime for validation of the page so what is 5 minutes to the server can be several hours and five minutes to the client.
>I hope that this explanation will help you if not and don't know what else I can tell you.
Ok, I did successfully accomplished it.
It took me a while to figure how to do it. I haven't found any direct way in WWC to do it. So, I did it manually.
FUNCTION ToXML
LOCAL lcHtml,lcHeader
lcHeader=''
lcHeader=lcHeader+'HTTP/1.0 200 OK'+CHR(10)
lcHeader=lcHeader+'Content-type: text/xml'+CHR(10)
lcHeader=lcHeader+'Expires: -1'+CHR(10)
lcHeader=lcHeader+CHR(10)
CURSORTOXML(ALIAS(),'lcHtml',1,48,0,'')
lcHtml=lcHeader+lcHtml
RETURN lcHtml