Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Microsoft.XMLHTTP takes from the cache
Message
De
19/10/2001 12:46:59
 
 
À
19/10/2001 12:17:06
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00570570
Message ID:
00570974
Vues:
30
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform