Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft.XMLHTTP takes from the cache
Message
 
To
19/10/2001 12:46:59
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00570570
Message ID:
00570989
Views:
23
Great to know you found it...I was having the same problem a few days ago and couldn't figure it out. Now, I will borrow your solution :)

>>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
>
Hector Correa
Previous
Reply
Map
View

Click here to load this message in the networking platform