Link | Content_Expires |
Author | Daniel Logue |
Category | Technical |
Version | 8.5.x |
License | Public Domain |
Posted | 28 Sep 2007 |
Updated | 28 Sep 2007 |
More by this author... |
This tag modifies the content headers with an appropriately formatted date/time string for the page to expire, based on 1 date/time parameter.
[ Content_Expires:(Date_Add:date,-Minutes=15); ]
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
[ Define_Tag:'Content_Expires', -Required='date'; Local:'expires'=(Date_LocalToGMT:#date); Content_Header+='Expires: '#expires->(Format:'%a')', '#expires->(Format:'%d')' '#expires->(Format:'%b')' '#expires->(Format:'%Y')' '#expires->(Format:'%T')' GMT\r\n'; /Define_Tag; ]
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft