Posted By:
Reema_Patel
Posted On:
Thursday, April 5, 2001 09:57 AM
Try using
response.setHeader("Pragma", "no-cache");
and if this doesn't work then use the below:
response.setHeader("Cache-Control", "no-cache");
The Pragma response header attribute is for HTTP 1.0 legacy applications. cache-control response header is a part of HTTP 1.1 spec, however use this sparingly since it avoids disk caching at all.
Hope this helps,
Reema.