|
|
Registered tutorials: 501 Registered Users: 39695
|
|
Rating: 4.33 out of 6 votes cast
Category: Ajax and ColdFusion
|
Processing Uploaded Files Asynchronously with Status Updates Using AjaxCFC
Abstract: Handle long-running processing asynchronously while passing status information back to the user
was presented with a problem for a recent project. A user would be able to upload a file at which point it would be processed with the results of the processing to be presented to the end user on the screen. This sounds simple, the problem was that the processing could be lengthy, and if it occurred in conjunction with the upload, the user would be waiting for the response page to load and left wondering what happened to their file (and might be tempted to hit back or refresh). So, what I wanted to do was find a way to let the user know we got the file and then to update them on the status of the processing so that they know something is occurring. I was able to accomplish this quite simply using Rob Gonda's AjaxCFC. Keep in mind, this code was a proof of concept and doesn't reflect best practices in all aspects (and I am also very happy to hear if someone has another solution).
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
588 |
| Unique Hits: |
474 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
0.2 |
0.2 |
2.4 |
2.9 |
10.6 |
13 |
| Current |
0 |
0 |
0 |
0 |
6 |
7 |
| Previous |
0 |
0 |
2 |
2 |
15 |
18 |
| Mar 23 |
0 |
0 |
3 |
4 |
7 |
9 |
| Mar 22 |
0 |
0 |
1 |
1 |
5 |
5 |
| Mar 21 |
0 |
0 |
4 |
6 |
13 |
17 |
| Mar 20 |
0 |
0 |
2 |
2 |
13 |
16 |
| Mar 19 |
0 |
0 |
6 |
7 |
13 |
16 |
| Mar 18 |
1 |
1 |
3 |
3 |
10 |
14 |
| Mar 17 |
0 |
0 |
0 |
0 |
9 |
9 |
| Mar 16 |
1 |
1 |
3 |
4 |
15 |
19 |
| Highest |
21 |
28 |
27 |
38 |
80 |
103 |
|
|
|
Script Execution Time: 0.19227 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|