Sun Java System Portal Server 7.1 Technical Reference

generate-rd-expires

The generate-rd-expires function generates an expiration date and adds it to the specified source. The function uses metadata such as the HTTP header and HTML <META> tags to obtain any expiration data from the resource. If none exists, it generates an expiration date three months from the current date.

Parameters

The parameter used with the generate-rd-expires function and its description is:

dst

Name of the source. If you omit it, it defaults to rd-expires.

Example


Generate fn=generate-rd-expires