You could put the query result in a Session or Application variable.

If it's a query that needs to actually run on every page request, put it in
Application.cfm.

> -----Original Message-----
> From: Mitko Gerensky-Greene [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 8:37 PM
> To: CF-Talk
> Subject: Recordsets for the whole site
> 
> 
> I am creating my first CF-enabled online database.
> 
> I am starting to find it limiting that I have to define the 
> same recordset
> over and over in different pages. Is there a way of keeping 
> the results of a
> recordset for use by more than a single webpage?
> 
> Thanks in advance,
> 
> Mitko Gerensky-Greene
> 
> ****************************************************************
> "Make no search for water. But find thirst,
> And water from the very ground will burst."
> (A Persian mystic poet, quoted in Delight of Hearts, p. 77)
> 
> "The world is but one country and mankind its citizens"
> Baha'i Faith
> http://www.us.bahai.org
> *****************************************************************
> 
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to