Advertisement
murp

Accessing CacheBox locally

Apr 23rd, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfscript>
  2. cachebox = application.cacheBox;
  3. // get the default cache
  4. cache = cachebox.getDefaultCache();
  5. // set a value in cache, with 60 minute timeout and 20 minute idle timeout.
  6. cache.set("hvattriboptions", application.hvattriboptions, 60,20);
  7. cache.set("qrystates_2005", application.qrystates_2005, 60,20);
  8. </cfscript>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement