Anyone happen to know ASP code for the no cache?

TSL

On Mon, May 19, 2008 at 11:43 AM, Douglas Knudsen <[EMAIL PROTECTED]>
wrote:

> righto that, must have been sleeping before.
>
> Just be wary of header settings and IE with the Flash Player plugin
>
> http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=EDS&pwst=1&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=2032+cache+control&spell=1
>
>
> DK
>
>
> On Mon, May 19, 2008 at 6:07 AM, Bruce Hodgdon <[EMAIL PROTECTED]>
> wrote:
>
>>  You can use the HTTP Headers to tell the browser to cache or not
>> cache.   There are probably problems with some old browsers but I've found
>> that today's browsers generally honor the Cache-Control header.
>>
>> In CF,  something like this:  <cfheader name="Cache-Control"
>> value="no-cache">
>> or <cfheader name="Cache-Control" value="max-age=0,must-revalidate">
>>
>> There are also,   Pragma and Expires headers.   I haven't that today's
>> browsers really use those (but I haven't tried them all).
>> They might look something like this:
>> <cfheader name="Expires" value="#Now()#">   (I've heard that the Now
>> doesn't really give you the correct format, but this is how it's
>> documented.
>> <cfheader name="Pragma" value="no-cache">
>>
>> As I said the Cache Control one is what has worked for me.   I use the
>> max_age 1 to allow cache for some number of seconds,  or no-cache.
>> All 3 can be put at the top of your page.
>>
>> IIS has an HTTP Headers section and you can use it to put in an expires
>> header on folders.
>> You normally want to cache images etc and not have them come to your host
>> every time (for performance).
>>
>>
>> ----- Original Message -----
>>  *From:* Tung Lee <[EMAIL PROTECTED]>
>> *To:* [email protected]
>> *Sent:* Monday, May 19, 2008 12:05 AM
>> *Subject:* [AFFUG Discuss] how to disable browser cache?
>>
>> Is there a way to disable client side cache?
>>
>> Thanks
>>
>> -------------------------------------------------------------
>> To unsubscribe from this list, simply email the list with unsubscribe in
>> the subject line
>>
>> For more info, see http://www.affug.com
>> Archive @ http://www.mail-archive.com/discussion%40affug.com/
>> List hosted by FusionLink <http://www.fusionlink.com>
>> -------------------------------------------------------------
>>
>>
>> -------------------------------------------------------------
>> To unsubscribe from this list, simply email the list with unsubscribe in
>> the subject line
>>
>> For more info, see http://www.affug.com
>> Archive @ http://www.mail-archive.com/discussion%40affug.com/
>> List hosted by FusionLink <http://www.fusionlink.com>
>> -------------------------------------------------------------
>>
>
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by FusionLink <http://www.fusionlink.com>
> -------------------------------------------------------------
>



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to