Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default Re: cflock timeout

    The timeout property sets the amount of time a session variable will be active. Note that while you can make it shorter than the default timeout set in the CF Administrator, you cannot make it longer.
    Hal B. Helms Guest

  2. Similar Questions and Discussions

    1. #40750 [NEW]: fsockopen timeout parameter overwrites timeout for reading
      From: andreas dot rieber at 2e-systems dot com Operating system: OpenSuse PHP version: 5.2.1 PHP Bug Type: Network related...
    2. cfquery, timeout attribute and cfserver timeout setting
      On our server, CFMX 6.1, we have an option setting for timeout requests as120 seconds. Then in my query, I tried replacing the timeout setting to...
    3. WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired)
      Hi! I have a webservice serving the latest orders from a webshop. The customer uses a forms app client to fetch these orders and push them into...
    4. Timeout sometimes runs past the timeout length
      I'm using Director MX on Windows XP. I have created a programme that launches a dir in a movie window. I am using the timeout set of commands to...
    5. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
      Gary Why not just change the connection timeout property? Your doing an update statement, which could take various amounts of time depending on...
  3. #2

    Default Re: cflock timeout

    A session lock and its attributes apply to each individual session
    on its own, without any direct inter-session interactions.
    When the processing flow for a session reaches a session lock,
    the timeout is the maximum number of seconds that it may
    wait to obtain the lock. That is, how long it may wait to get
    the okay-flag to run the code within the cflock tag. If the
    lock is obtained within the timeout period, execution continues
    normally.

    If the lock is not obtained within the timeout period, further
    code execution depends on whether the ThrowOnTimeout
    attribute is set to "Yes" or "No". If "Yes", Coldfusion throws
    an error and code execution stops. If "No", the processing
    flow continues beyond the cflock tag, without executing the
    code within the tag.

    Coldfusion's behaviour is a bit peculiarity, when you set the
    timeout value to "0". Then the timeout value actually defaults
    to the value T, where T comes from the "Timeout Requests after T"
    setting in the ColdFusion Administrator. This assumes that that
    setting is enabled. If it is not, and you set timeout="0" in a
    cflock tag, ColdFusion might wait for an indefinite amount of
    time to obtain the lock.




    BKBK Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139