Way I've done this is pretty simple: - create a template returns a query object and accepts a parameter for the timestamp - default the timestamp in that template to the length of time for which you want the query to be cached - in your customer-side code, call the page that returns the query and then output the query as normal - have an admin template that, when called, just calls your module and passes in #CreateTimeSpan(0, 0, 0, 0)# as the timespan attribute
Easy. -- Aidan Whitehall <mailto:[EMAIL PROTECTED]> Macromedia ColdFusion Developer Fairbanks Environmental Ltd +44 (0)1695 51775 Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards> ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
