Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft.XMLHTTP takes from the cache
Message
From
19/10/2001 12:46:59
 
 
To
19/10/2001 12:17:06
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00570570
Message ID:
00570974
Views:
29
>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
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform