Hi all,
here is the situation: In the web application, user selects some options, submits form, and PDF file is dynamically generated on the server side and offered for download.
The problem: The generation of PDF file takes quite long (up to 1 minute). Some users think nothing is hapening and keep clicking the submit button again and again increasing server load and slowing it down even further.
I thougt about adding some busy indicator, which would show animated picture and message like "Please wait, your file is being generated", which seems very easy to do.
But: how to hide this indicator when the file is ready and "file download" dialog pops up? Otherwise, the message stays on screen even after the user has downloaded the file!
Seems very basic requirement, but I'm completely stuck. Thanks for any suggestions!