Hi,
how about that:
- on the main-form perform the submit with the file-upload and show the
result-page when it is finished
- To do the submit use a javascript function which performs the submit
and opens a popup-window with a new request.
- The "main"-action puts a flag into the user-session while doing its work
- The "secondary"-(popup)-Action checks for that flag
- while it is on it just reshows with a refresh-header
- as soo as it is off: show a html that contains a javascript-function to
close the popup-window
Have not tried it myself, but should be feasable.
hope this helps
Alexander
-----Original Message-----
From: Christian Riedel [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 10:25 AM
To: [EMAIL PROTECTED]
Subject: How to show a 'please wait' page while performing action
Hi,
I am trying to implement a page, that is shown during perfoming a file
upload action.
When the upload form is submitted I want a new page to be displayed
showing a 'please wait' message. While this page is shown the actual
file-upload should be performed and then, when the upload is finished,
the actual 'result-page' should be shown.
By now I can only submit the form. the file-upload starts and the page
does not do anything until the upload is completed. So if the upload
takes a long time the user does not really know what's happening.
Can anyone help me with this?
TIA
Christian
--
To reply to this posting directly use the following address and
remove the 'NO-SPAM' part: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]