Re: setting timeout for AJAX calls
Funny you should mention it, but here's a couple of blog posts by Ray Camden about the same topic: http://www.coldfusionjedi.com/index.cfm/2010/9/8/Example-of-handling-session-time-outs-in-an-Ajax-application http://www.coldfusionjedi.com/index.cfm/2010/9/15/Handling-session-timeouts-in-Ajax-applications--Follow-up hth, larry >Hey All, > >I'm finding tonnes of info on handling session timeouts with AJAX calls, >but what I'm wondering is how to set a timeout for a particular AJAX >call? > >I want to do the equivalent of so I can >raise the amount of time a rather long AJAX call has to complete. > >I am using AjaxCFC which of course calls a method in a CFC and returns >a response. JQuery is involved as well if that helps/hinders > >Any thoughts? > >TIA > >Cheers > >Bryan Stevenson B.Comm. >VP & Director of E-Commerce Development >Electric Edge Systems Group Inc. >phone: 250.480.0642 >fax: 250.480.1264 >cell: 250.920.8830 >e-mail: br...@electricedgesystems.com >web: www.electricedgesystems.com > >Notice: >This message, including any attachments, is confidential and may contain >information that is privileged or exempt from disclosure. It is intended >only for the person to whom it is addressed unless expressly authorized >otherwise by the sender. If you are not an authorized recipient, please >notify the sender immediately and permanently destroy all copies of this >message and attachments. >Please consider the environment before printing this e-mail ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: setting timeout for AJAX calls
Of course right after posting I found that AjaxCFC calls have a timeout parameter ;-) Does anyone know how it behaves in conjunction with the timeout set in CF Admin (like what happens if your CF Admin timeout is less.)? What happens when the timeout specified is reached? TIA for any insight Cheers On Fri, 2010-09-17 at 09:16 -0700, Bryan Stevenson wrote: > Hey All, > > I'm finding tonnes of info on handling session timeouts with AJAX calls, > but what I'm wondering is how to set a timeout for a particular AJAX > call? > > I want to do the equivalent of so I can > raise the amount of time a rather long AJAX call has to complete. > > I am using AjaxCFC which of course calls a method in a CFC and returns > a response. JQuery is involved as well if that helps/hinders > > Any thoughts? > > TIA > > Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Please consider the environment before printing this e-mail ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
setting timeout for AJAX calls
Hey All, I'm finding tonnes of info on handling session timeouts with AJAX calls, but what I'm wondering is how to set a timeout for a particular AJAX call? I want to do the equivalent of so I can raise the amount of time a rather long AJAX call has to complete. I am using AjaxCFC which of course calls a method in a CFC and returns a response. JQuery is involved as well if that helps/hinders Any thoughts? TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Please consider the environment before printing this e-mail ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm