CResponse::getCacheControl

The CResponse::getCacheControl function retrieve the current value of the CacheControl property.

chchar *getCacheControl();



Return Type

chchar *
Upon successful completion, a string which contains the CacheControl value is returned. Otherwise, NULL is returned.


Parameters

None.


Remarks

This function retrieves the current value of the CacheControl property of the object. The CResponse::setCacheControl function can be used to override the default value which is Private. By setting the value to Public, proxy servers will be able to cache output from pages; no-cache, the Response message MUST NOT be cached anywhere.


See Also

CResponse, CResponse::setCacheControl

Example