Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft.XMLHTTP takes from the cache
Message
 
To
19/10/2001 11:34:53
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00570570
Message ID:
00571408
Views:
38
>>But the XMLHTTP object is doing a get to an asp page or not?
>>This case the client is the XMLHTP object but is a client as the internet explorer.
>
>No, we're not calling an ASP page. We're calling a WWC transaction.

The easiests way to do this is to add an expiration header to the server.

loHeader = CREATEOBJECT('wwHttpHeader')
loHeader.DefaultHeader()
loHeader.AddForceReload()

Response.ContentTypeHeader(loHeader)
... rest of the response code

Alternately you can also change hte default HTTP header that Web Connection sends and uses in the DefaultHeader() method which is pretty much used whenever you don't explicitly send your own header.

In WCONNECT_OVERRIDE.H add:

#UNDEFINE DEFAULT_CONTENTTYPE_HEADER
#DEFINE DEFAULT_CONTENTTYPE_HEADER ;
"HTTP/1.1 200 OK" + CRLF + ;
"Content-type: text/html" + CRLF +;


+++ Rick --
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform