Helle Adam,
I hope this is what you ment:
Use a false query like
<cfquery datasource .... >
SELECT NOTHING
FROM SOMETHING
</cfquery>
This generates a dbError which you can catch using <CFTRY/CFCATCH>
Then your datasource will be released.
Regards,
Johan
-----Original Message-----
From: Jablonski, Adam, MTC-CEC [mailto:[EMAIL PROTECTED]]
Sent: donderdag 27 juli 2000 12:10
To: [EMAIL PROTECTED]
Subject: How to release cached data source connection via CF template ?
Hello,
the subject is THE question. I need to copy database files in automated way.
In connection to this all those files have to be released by CF server.
Does anyone of you know such a custom tag or any other solution to solve
this problem?
I need exactly the same functionality as the CF server administrator on
DataSources/VerifyDataSource page but regarding only one given cached data
source connection to release.
Thanks in advance,
Adam
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.