Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.DisableCache
Disables caching on the ContentServer and EvalServer servlets for the current page evaluation.
Syntax
public void DisableCache()Parameters
None.
Description
The
DisableCache
method disables caching on both the EvalServer and the Content Server servlets for the current page evaluation. This does not affect any other thread and does not affect export.Use this method when an error is detected in the page that should prevent it from being cached.
Returns
None.
Example
The following example disables caching when an error is detected in the page:
int err = ics.GetErrno
(); if (err != 0) {ics.DisableCache();}
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.