>- see footer for list info -< Is this function even available in CFMX?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Moretti (cfmaster) Sent: 08 February 2005 09:22 To: Coldfusion Development Subject: Re: [CF-Dev] flushing db connections >- see footer for list info -< PGR Developer wrote: >>- see footer for list info -< >> >> >I have CFMX on my development pc, and my production server is CF5. I'm >trying to flush connections regardless of what CF version it is, but >this code won't work on CFMX > ><cfif left(server.coldfusion.productversion,1) is 5> > <cfoutput>#CFUSION_DBCONNECTIONS_FLUSH()#</cfoutput> > Connections has been flushed! ></cfif> > >Any suggestions? > > <cfif listfirst(server.coldfusion.productversion) eq 5> <cfset tmp = cfusion_dbconnections_flush()> </cfif> The change to the cfif is neither here nor there, but the call to the function should work better as a function call. You realise that this will release connections to ALL databases on the server and will affect all the applications on the server? Just a suggestion.... Move to mySQL or something other than Access. I don't have a problem with Access for use behind websites, but it is much easier in the long run to use a database server.. It makes life so much easier when you need to update your datasources. Stephen _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
