Unfortunately I don't have a choice, in this case, but on the other hand
I have a relatively well-educated (read well-lectured by me) user who
does it.  I have just been getting some strange behaviour from it that
looks like it's dying because the user's network connection is a little
dodgy atm...  I'll keep looking for solutions then!  :( 

-----Original Message-----
From: Stephen Moretti [mailto:[EMAIL PROTECTED] 
Sent: 13 May 2005 18:00
To: CF-Newbie
Subject: Re: Architecture question[Scanned]

Richard Hensman wrote:

>I'm not sure if this should be in CF_newbie, but here it is anyway:
>
>I have a CF server with a template timeout of 3600 seconds (one hour).

>On this server is a page that processes a batch of user information, 
>sends out some emails, updates some tables, deletes other stuff...
>Basically does a lot.
>The response is one line of text, confirming that the process has run 
>successfully.  The list of WHAT was done is sent via email to the site 
>admin.
>
>Now, if the user requests this page (clicks a link) after setting up 
>all the info for the batch run, and the run starts, then his connection

>dies, he closes the window, or anything else that will prevent him from

>getting the confirmation (other than the script timing out after one
>hour) - will the batch still complete?  Is the processing on the server

>side going to complete even if the browser session has died in the mean

>time?
>
Yep.  That kind of task - you really don't want the users being able to
kick it off.  Thats the kind of task that they might be able to schedule
to run, but never let them hit a "GO" button on this task.  They can and
do click on that go button over and over because its not finished in 30
seconds. Each time they click on that button CF will start trying to
process that page.

Stephen





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Studio MX from House of Fusion, a Macromedia Authorized Affiliate and 
support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=50

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:941
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to