Re: Is it possible to display part of confirmation page while form is processing?
- From: "Stefan B Rusynko" <sbr_enjoy@xxxxxxxxxxx>
- Date: Wed, 17 May 2006 04:10:08 -0400
The ASP Engine must process the entire code of the page before it passes it back to the browser to render
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________
"KEW" <kwagner@xxxxxxxxxxxx> wrote in message news:Ogm4RpPeGHA.3888@xxxxxxxxxxxxxxxxxxxxxxx
| Stefan,
|
| While I'm tinkering with ASP progress bars and the like, I do have an
| additional question.
|
| Right now, the form page points to an .asp page that contains the script
| that 1) executes the file upload, 2) gets the job number and stores the next
| one, 3) builds and sends the email, and 4) builds the confirmation page for
| the client. The underlying code begins with html for the page "header,"
| followed by the script block, then more html to build the "footer"
|
| Shouldn't I be able to get *some* visual feedback to the client by using a
| Response.Write followed by a Response.Flush statement at the top of the
| script, before the upload begins? Right now nothing happens visually until
| the upload is complete, even if I insert this kind of code before the upload
| is called.
|
| Thanks,
| KEW
|
| "Stefan B Rusynko" <sbr_enjoy@xxxxxxxxxxx> wrote in message
| news:%232tnOoMeGHA.3348@xxxxxxxxxxxxxxxxxxxxxxx
| > See http://www.atgconsulting.com/progressbar.asp
| > - or Google for "ASP progress bar" for several JavaScript or other ASP
| implementations
| >
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > "KEW" <kwagner@xxxxxxxxxxxx> wrote in message
| news:ui71uqDeGHA.2188@xxxxxxxxxxxxxxxxxxxxxxx
| > | Hi all,
| > |
| > | I've posted this to the ASP forum at outfront.net with no substantive
| > | responses, so I'm hoping this group will prove more helpful.
| > |
| > | Using FrontPage 2003, ASPSmartUpload, ASPMail, and the filesystemobject,
| > | I've created a form that accepts user input and multiple file uploads,
| > | obtains a job number from a file, returns a confirmation page with a job
| > | number to the user, and emails the form data, the job number, and
| > | information about the uploaded files to a service bureau employee. The
| form
| > | page points to an .asp file that contains both the script and the html
| for
| > | the confirmation page. I'm using VBScript.
| > |
| > | For the most part it works very well, but now we'd like to get fancy.
| > |
| > | Currently, when a user clicks on the "submit" button on the form, there
| is
| > | no visual feedback for him/her except the slow progress bar in the
| browser
| > | to indicate that the upload is progressing. Consequently, some users
| > | repeatedly click the "submit" button. Ouch.
| > |
| > | What I'd like to do is change the screen immediately once the "submit"
| > | button has been activated so that a) users get some visual feedback and
| b)
| > | they are prevented from re-activating the "submit" button.
| > |
| > | Ideally, the header of the confirmation page would be displayed, and
| > | underneath it a simple message indicating that the file upload is in
| > | progress, yadda yadda yadda. Once the upload was complete, the file
| upload
| > | message would disappear to be replaced by the confirmation information.
| > |
| > | How can I achieve this?
| > |
| > | Thanks in advance,
| > | KEW
| > |
| > |
| > |
| >
| >
|
|
.
- References:
- Prev by Date: Re: How to create a hot spots with a hover button?
- Next by Date: Re: Make a page a css template
- Previous by thread: Re: Is it possible to display part of confirmation page while form is processing?
- Next by thread: Re: Can't logon
- Index(es):