PDA

Click to See Complete Forum and Search --> : Animated gif stops during data processing.


Al Smith
May 9th, 2003, 02:09 PM
Hi,
This probably would happen on classic asp also, but I never tried.
I have a "Processing Order. Please Wait" screen that pops-up while some data processing is occuring on the server. The screen has a simple animated gif on it. The code for the screen is in <DIV> tags. The DIV is hidden (JavaScript) when the page loads. When the submit butten is clicked, the DIV is set to "Visible".
Everything works as expected, but the animated gif stops during the data processing.
Why does this happen?
I had thought that since the "Please Wait" screen is on the client, any server-side processing wouldn't affect it.
Does anyone have any ideas?
Thanks,
Al.

fungi
May 9th, 2003, 02:16 PM
Take a look at threads. I've never used it so can't give any examples but basically
you create a new thread to do the processing, display a simple transition page (with your
animated gif) and when the processing is done it auto redirects to the next page.

Al Smith
May 12th, 2003, 07:39 AM
Thanks fungi. Threading works.
Al.