PDA

View Full Version : Database Caching Issue


mc2buddha
10-27-2003, 01:57 PM
Having problems getting data to send/load from a SQL database table. It is only happening on browsers in which the Temporary Internet Files ( Tools>>Internet Options>>Temporary Internet Files>>Settings) is set at anything other than 'every visit to the page'.

On the html page I used:

<!-- BEGIN INSERT -->
<META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec 1999 21:29:02 GMT">
<!-- END INSERT -->

and

<!-- BEGIN INSERT -->

<HEAD>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</HEAD>

<!-- END INSERT -->

hangalot
10-27-2003, 02:41 PM
i get around this by using
response.expires = -1 in asp

mc2buddha
10-27-2003, 06:36 PM
It worked!! Thanks.

I adjusted the value to:

Response.expires = -10000

Seems to respond better.