$Web_NoCache

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Set HTTP response headers so fresh page displayed

$Web_NoCache sets various HTTP response headers so that the browser will display the new version of the response page, regardless of any cached versions.

$Web_NoCache does not take any arguments and it returns a numeric status code. It is a callable $function.

Syntax

%rc = $Web_NoCache

Syntax terms

%rc A numeric status code:
Code Meaning
0 Completed successfully
-1 Not a web thread

Usage notes

$Web_NoCache is useful if you know that the page contains new information that the web user should see.

Examples

* Ensure new version of page is seen: %X = $Web_NoCache