Here's what I'm trying to do:
Render upload page
- user selects files and fills out form
- user clicks upload btn
Render new page
- display "Uploading"
- display "Upload complete"
- display summary of info from upload page
I used server.transfer to get the new page to do the upload, but I
haven't been able to figure out how to display the interim message of
"Uploading". After the upload btn is clicked there is a long pause
(file uploads) then the upload complete/status stuff appears. I've
tried numerous combinations of page_load, page_init, etc., and I'm
convinced the solution is not there. Also tried using server.execute
but since the server doesn't return a response until after the
function is complete, I never get the uploading message. Is there a
way to have a function automatically executed AFTER the page has been
rendered? I.e. send 3 pages, the upload page, the uploading page,
then the completed page? Or is there a better way all together?