Also there is cfx_wait tag in the gallery

~Justin


----- Original Message -----
From: "Simon Horwith" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, September 28, 2000 4:56 PM
Subject: RE: Delay


> egg-knowledged!!
> use of a COM object would definitely be the best way to do this.  Whether
or
> not that method is available to whomever originally posed the question of
> how to create a server side pause with cf code, is a mystery.  If he has
> access to CFOBJECT, this is a much better solution.
>
> ~Simon
>
> -----Original Message-----
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 28, 2000 11:49 AM
> To: CF-Talk
> Subject: Re: Delay
>
>
> WaitFor 1.0
> Using this component you can pause your ASP app for a specified time, wait
> until a file exists or wait until the component can get exclusive
read/write
> permissions to a file
> http://www.serverobjects.com/comp/waitfor.zip
> Use it with CFOBJECT and save in processing. NEVER USE CFLOOP FOR A WAIT
> PROCESS!!!
>
>
> > Stop it! You are hogging a Server Thread while you do this. This really
is
> > horrendous programming technique.
> >
> >
> >
> > > ----------
> > > From: Simon Horwith[SMTP:[EMAIL PROTECTED]]
> > > Sent: 28 September 2000 14:32
> > > To: CF-Talk
> > > Subject: RE: Delay
> > >
> > > actually, I think
> > >
> > > <CFSET Start=GetTickCount()>
> > > <CFSET Time=60000>
> > > <cfloop condition="GetTickCount()-Start LT Time">
> > > </cfloop>
> > >
> > > Would be most efficient.  thanks for correcting me.
> > > ~Simon
> > > -----Original Message-----
> > > From: James Smith [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, September 27, 2000 2:22 PM
> > > To: CF-Talk
> > > Subject: Re: Delay
> > >
> > >
> > > why not just use
> > >
> > > <CFSET Start=GetTickCount()>
> > > <CFSET Time=60000>
> > > <cfloop condition="GetTickCount() LT start + Time">
> > > </cfloop>
> > >
> > > much shorter and simpler.  Will still eat up your CPU though.
> > >
> > > ----- Original Message -----
> > > From: "Simon Horwith" <[EMAIL PROTECTED]>
> > > To: "CF-Talk" <[EMAIL PROTECTED]>
> > > Sent: Wednesday, September 27, 2000 4:01 PM
> > > Subject: RE: Delay
> > >
> > >
> > > > slight fix on my end.  use MOD to avoid executing on every pass, and
> GTE
> > > > because you may exceed the desired delay by a few millisecs.:
> > > >
> > > > THIS SHOULD CREATE A ONE MINUTE TIMER!!
> > > > <CFSET tickBegin = GetTickCount()>
> > > > <CFLOOP FROM="1" TO = "1000000000000" index = "index">
> > > > <CFIF index MOD 100 IS 0>
> > > > <CFSET tickEnd = GetTickCount()>
> > > > <CFIF tickEnd - tickBegin GTE 60000>
> > > > <CFBREAK>
> > > > </CFIF>
> > > > </CFIF>
> > > > </CFLOOP>
> > > >
> > > > ~Simon
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Mark Ireland [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, September 25, 2000 9:14 PM
> > > > To: CF-Talk
> > > > Subject: Re: Delay
> > > >
> > > >
> > > >
> > > >
> > > > There really should be a 'pause' tag that does not use much cpu.
> > > >
> > > > I doubt that I am the first to say this but I will
> > > > repeat myself on the allaire forums.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > At 10:06 PM 25/09/00 -0300, you wrote:
> > > > >I use a CFLOOP to create a delay.
> > > > >
> > > > ><CFLOOP Index="Timer" From="1" to="15000" STEP="1">
> > > > ></cfloop>
> > > > >
> > > > >There must be a better way, but I haven't found it yet.
> > > > >
> > > > >
> > > > >----- Original Message -----
> > > > >From: "Parker, Kevin" <[EMAIL PROTECTED]>
> > > > >To: "CF-Talk" <[EMAIL PROTECTED]>
> > > >
> > > > >Sent: Monday, September 25, 2000 9:58 PM
> > > > >Subject: Delay
> > > > >
> > > > >
> > > > >> Can anyone help please?
> > > > >>
> > > > >> I'm trying to set up a delay in page without using a meta tag.
> > > > >>
> > > > >> I've tried this but it relocates straight way. Do I need to tell
it
> > > that
> > > > >the
> > > > >> values are specifically dates? TIA!
> > > > >>
> > > > >> <!--- Create a 2 second delay --->
> > > > >>
> > > > >> <CFSET Beginning = Now()>
> > > > >> <CFSET Ending = Now()>
> > > > >> <CFSET Difference = #DateDiff( "s", Beginning, Ending )#>
> > > > >> <CFLOOP condition="Difference LT 2">
> > > > >> <CFSET Ending = Now()>
> > > > >> <CFSET Difference = #DateDiff( "s", Beginning, Ending )#>
> > > > >> </CFLOOP>
> > > > >>
> > > > >> <!--- Relocate to the menu page --->
> > > > >>
> > > > >> <cflocation url="test_id.cfm" addtoken="No">
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >> ********************************
> > > > >> Kevin Parker
> > > > >> Service and Communication
> > > > >> WorkCover Corporation
> > > > >>
> > > > >> [EMAIL PROTECTED]
> > > > >>
> > > > >> ph:  +61 8 82332548
> > > > >> fax: +61 8 82332000
> > > > >> ********************************
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > >
> > >
> >*************************************************************************
> > > **
> > > > *
> > > > >> This e-mail is intended for the use of the addressee only. It may
> > > contain
> > > > >> information that is protected by legislated confidentiality
and/or
> is
> > > > >> legally privileged. If you are not the intended recipient you are
> > > > >prohibited
> > > > >> from disseminating, distributing or copying this e-mail. Any
> opinion
> > > > >> expressed in this e-mail may not necessarily be that of the
> WorkCover
> > > > >> Corporation of South Australia. Although precautions have been
> taken,
> > > the
> > > > >> sender cannot warrant that this e-mail or any files transmitted
> with
> > > it
> > > > >are
> > > > >> free of viruses or any other defect.
> > > > >> If you have received this e-mail in error, please notify the
sender
> > > > >> immediately by return e-mail and destroy the original e-mail and
> any
> > > > >copies.
> > > > >>
> > > >
> > >
> >*************************************************************************
> > > **
> > > > *
> > > > >>
> > > >
> >
>
> --------------------------------------------------------------------------
> > > > >----
> > > > >> 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.
> > > > >
> > > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > --
> > > > 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.
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > --
> > > 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.
> > >
> > **********************************************************************
> >  This email and any attachments are confidential and solely
> >  for the use of the intended recipient.  They may contain
> >  material protected by legal professional or other privilege.
> >  If you are not the intended recipient or the person responsible
> >  for delivering to the intended recipient, you are not authorised
> >  to and must not disclose, copy, distribute or retain this email
> >  or its attachments.  Although this email and its attachments
> >  are believed to be free of any virus or other defect, it is the
> >  responsibility of the recipient to ensure that they are virus free
> >  and no responsibility is accepted by the company for any
> >  loss or damage arising from receipt or use thereof.
> >
> > **********************************************************************
>
> --------------------------------------------------------------------------
> ----
> > 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.
> --------------------------------------------------------------------------
----
> 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.

Reply via email to