HttpNoCache

Has no parameters.

Description:

Setting the HTTP Headers to instruct a browser to not save potentially sensitive data to the cache.

It should be noted that the /Admin area has always had this hard coded for all page content. Further note that setting this header for file downloads will prevent the user from being able to download the file; therefore it is not applied to the /Files or /Private folders.

For front end user interfaces, this is obviously not a default since many systems or many parts of most systems do not require such no-cache rules since there isn't anything to protect in the page content itself. Therefore, it is up to the developer to use this HttpNoCache command when the page is producing sensitive data that should be protected from being store in the browsers cache.

As an example, and best practice, this new command is now used by all of the BuiltIn procedures that are related to personal account details.

Example:

HttpNoCache