Question : Cannot stop caching of ASP and database data

I have a strange situation.  My server is using IIS 6.0

I am using the following object:   Microsoft.XMLHTTP to send an asp page embedded into the body of an email msg.

XML = GET, "http://thenameofMyASPpagethat has database data", False
(this is not the correct format, but it will server the purpose I'm trying to illustrate)

When I update data to the database through an ASP page, everything works well.  When I view my data through any asp page, everything shows up.  But when I use the ASP page as an XMLHTTP object to send in an email, I notice that the email contains everything except for any recent updates/changes just made to the data.
I've eliminated the possiblity that this is due to client side caching.  However, what would cause such a situation?  Why wouldn't my updates be displayed until the next day.  I want them to show up in the email instaneously.
What about caching through IIS 6.0 or any other places on the server that would cause my asp page to only show all data minus any new updates?

Thank you,
Jayme

Answer : Cannot stop caching of ASP and database data

Hi,

the following is from:

http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/ca_configasp.asp
================================================================================

ASP processes the files that contain ASP scripts, stores these processed files in a cache, and then serves the cached files to clients. Caching ASP script files enhances performance because cached ASP scripts are not compiled each time they are called. The corresponding Metabase property is AspScriptFileCacheSize. AspScriptFileCacheSize specifies the number of precompiled script files to cache.

To change the settings for caching ASP script files

1 In IIS Manager, expand the local computer, expand the Web Sites folder, right-click the Web site you want to configure, and then click Properties.
2 Click the appropriate tab: Home Directory, Virtual Directory, or Directory.
3 In the Application Settings area, click Configuration, and then click the Cache Options tab.
 - Note If the Configuration button is not active, the directory or starting point does not contain an isolated application. You can create a new application by clicking Create.

In the ASP File Cache section, configure the ASP cache setting by doing one of the following:
select the Do not cache ASP files check box.
Click OK.
Random Solutions  
 
programming4us programming4us