>- see footer for list info -< I believe it is not available in CFMX, for 6.1 you can use the service factory:
http://spike.oli.tudelft.nl/jochemd/index.cfm?PageID=12 You *should* be able to do this on 7 using the administrator api (http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/ html/wwhelp.htm?context=ColdFusion_Documentation&file=00001734.htm) I don't have it installed on this box so I can't confirm. HTH Kola > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:dev- > [EMAIL PROTECTED] On Behalf Of Robertson-Ravo, Neil (RX) > Sent: 08 February 2005 10:04 > To: Coldfusion Development > Subject: RE: [CF-Dev] flushing db connections > > >- 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 - > < _______________________________________________ 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 -<
