23 Nov
2001
23 Nov
'01
3:10 a.m.
Hi All, I know most of you can help me...
How do we prevent a page to be cached by a proxy or whatever?
I know It doesn't matter what language... I think you can set it inthe header right?
I'm afraid my colleague will have to use it for (yuck) asp(yuck) but could you please help us?
you have to set 2 headers: Expires: -1 Cache-Control: No-Cache in zope you set them with RESPONSE.setHeader('Expires','-1') RESPONSE.setHeader('Cache-Control','No-Cache') one tells proxies not to cache the other one tells browsers not to cache.