re: Persisting query data across cflocation

2011-03-23 Thread Jason Fisher
Yes, storing in a Session or Client struct is your only option. Earlier versions of CF would lose sessions set before a CFLOCATION as well, so if you're on CFMX or something, use JavaScript location.href = C.cfm for the redirect to get around that.

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