Hi, WebSphere application server, from IBM, has a similar problem. Their solution is to continuously send output, with current progress. Their 'view' which does this is so configured, that the HTTP Response starts sending the response immediately, not waiting for the response to be complete.
I don't know if that's possible in Django, but I guess that it should be? The user at least will know then, that the server is busy and not just dead. Cheers, --Tim -----Original Message----- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jay Parlar Sent: vrijdag 2 juni 2006 19:12 To: django-users@googlegroups.com Subject: Using AJAX to deal with slow views The main view of my internal web app is a form with an upload field, and when the user uploads a file, my server-side processing takes about 15 seconds to complete (I generate and then compile some stuff based on the file they upload, and return the compiled result) Fromthe user's POV, it just looks like it takes 15 seconds for the next page to load after pressing "Submit". [...] Thanks, Jay P. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---