Yup and take one of those threads from you multi threaded server environemnt
and lock it up for 2 seconds....20% fall in server perfomance...bingo. :)
> ----------
> From: Simon Horwith[SMTP:[EMAIL PROTECTED]]
> Sent: 27 September 2000 15:51
> To: CF-Talk
> Subject: RE: Delay
>
> Try using getTickCount:
>
> THIS SHOULD CREATE A 2 SECOND TIMER!!
>
> <CFSET tickBegin = GetTickCount()>
> <CFLOOP FROM="1" TO = "1000000000000" index = "index">
> <CFSET tickEnd = GetTickCount()>
> <CFIF tickEnd - tickBegin IS 2000>
> <CFBREAK> OR YOU COULD PUT THE CFLOCATION RIGHT HERE, INSTEAD
> </CFIF>
> </CFLOOP>
>
> ~Simon
>
> -----Original Message-----
> From: Michael Gagnon [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 25, 2000 9:07 PM
> To: CF-Talk
> Subject: Re: Delay
>
>
> 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/[email protected]/
> > 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/[email protected]/
> 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/[email protected]/
> 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/[email protected]/
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.