Hi,

You could use Ajax for this. The client could periodically (say, every
second) send a request to the server asking if the calculation is
over. When the calculation is over, a flag would be set (in the
server's cache, for example) and the client would be notified at the
next ajax request.

That should work and be quite simple to implement.

Cheers,

Julien

On Aug 20, 10:37 am, makebelieve <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've built an app that accepts inputs from the user and then uses them
> to do some heavy data crunching.  I've got everything working
> correctly, however, on some runs the process is too long and the
> browser times out before it can complete.  Does anyone know a way
> around this?  Ideally after hitting the calculate button I'd like to
> take the user to a "Calculations in Progress" page until the data
> crunching is complete.  Any ideas on how to accomplish this?
>
> Thank you in advance!
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to