On Wed, 30 Jan 2002 13:42:47 -0500, "Ron Davis"
<[EMAIL PROTECTED]> wrote:

>ahhhhh...... THAT might explain it.......  they network guys told me that 
>this particular transaction could take up to 60 seconds to complete...... 
>soooooo........ next logical question...... how can i over-ride the 
>default timeout?
>
>I tried adding a line, but I think its in the wrong place (or format).... 
>I took it from the docs, but I think I'm mis-useing it....

Basically, you can change the timeout at any point, but I usually do
it after the open. After I check if the connection actually occured or
not.

(I think I changed it so that before a open and after a close some of
the settings were reset for safety reasons. So timeout may be
invalidated if used before an open. I'm not positive about that
however.)

<cfset obj.timeout=60.000>

.. should do it.

Note that timeout is not how long the ENTIRE transaction has before
it's forciably terminated. It's how long a peroid it will sit there if
nothing is coming in. If the remote server sends a single character
every 59 seconds, it'll just keep accumulating for a while. :)

(There are a few parms you can set to force it stop but those are
really only for extreme circumstances involving streaming media.)

--min

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to