My whole point was to at least pass the query that IS
available to the
calling page...
But that statement does not work in a stateless environment.
The query
is NOT available to be passed.
1) A request was made to web server.
2) Web server determines request is for ColdFusion, passes
request to CF.
3) CF Process request creating and using query and builds
response.
4) Response is returned to web server, CF clears all data for
garbage
collection and goes on to next request.
5) web server passes response to client.
6) client renders response and waits for user interaction.
7) user activates button, new request is sent to web server.
8) It all starts over again.
There is no "query" anymore by the time a user sees a button
and can
click on it, unless something is done to save it in a
persistent scope
so that it can be used from request to request. And even
then, a new
request must be made to do something with the query.