Yes :)
cfquery looks at the actual sql string (and the cfquery parameters) to
decide whether or not to look at the cache, or make a connection to
the database, not just the name.

-- 
 jon
 mailto:[EMAIL PROTECTED]

Thursday, January 16, 2003, 5:27:15 PM, you wrote:
JM> So if I understand that correctly if I run this query:

JM> <cfquery name="myquery" datasource="#request.dsn#">
JM> SELECT * FROM tblSites
JM> WHERE siteID=2
JM> </cfquery>

JM> AND THEN

JM> <cfquery name="myquery" datasource="#request.dsn#">
JM> SELECT * FROM tblSites
JM> WHERE siteID=1056
JM> </cfquery>

JM> It will cache them BOTH and will not return the data from the query
JM> WHERE siteID=2 to the user who just rean WHERE siteID=1056 ???

JM> Is that right? Please say yes :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to