dev.kanngard.net make sure you visit my new blog at: johankanngard.net

Short tip: Prevent form being cached

by Johan Känngård / [@Formula] / 2003-01-14 / #50


Sometimes it is important that neither the web client (or proxy server) nor Domino caches the form that is being processed. You can the use the following in the "HTML Head Content":

"<META HTTP-EQUIV=\"cache-control\" CONTENT=\"no-cache\">" + @NewLine +
"<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">" + @NewLine +
"<META HTTP-EQUIV=\"Expires\" CONTENT=\"0\">" + @NewLine;
FIELD $CacheOptions:="0";
FIELD $CacheValid:="0";