Persisting query data across cflocation

2011-03-23 Thread Eric Cobb
Given the following scenario, what would be the best way to persist the data across the cflocation call? I have page A, which includes page B, which does a cflocation to page C. Query results returned in page A need to be available in page C. Since we're doing a cflocation, which starts a

re: Persisting query data across cflocation

2011-03-23 Thread Jason Fisher
that. From: Eric Cobb cft...@ecartech.com Sent: Wednesday, March 23, 2011 10:58 AM To: cf-talk cf-talk@houseoffusion.com Subject: Persisting query data across cflocation Given the following scenario, what would be the best way to persist the data across the cflocation call? I have page A, which includes

Re: Persisting query data across cflocation

2011-03-23 Thread Judah McAuley
If you are using CF 9 or Railo, I'd look into the new caching functions. CF9 uses ehCache if I recall. Railo can use ehCache, memcached and a couple of others. You can serialize your query, do an SHA1 hash of the serialized object to use as a key, put the query into the cache with the hash as the