• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to make a progress bar or a waitting page?

New Here ,
Aug 13, 2007 Aug 13, 2007

Copy link to clipboard

Copied

page1.cfm

<form action="InputDB.cfm" method="post">
<input id="inputdb" type="submit" value="InputNow">
</form>


InputDB.cfm

<cfloop from="1" to "9000000" index="x">

if it inputs the 9000000 records into the database,
it will spend a lot of time,how to do make a progress bar
or a waitting page when Users wait for the time?


</cfloop>

Thanks a lot.
TOPICS
Advanced techniques

Views

334

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 13, 2007 Aug 13, 2007

Copy link to clipboard

Copied

ajax would be my guess
--

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 14, 2007 Aug 14, 2007

Copy link to clipboard

Copied

Waiting pages are easy.

Step 1, convert form variables to session variable.
Step 2, display something.
Step 3, use js window.location to call the action page. Don't use cflocation. Even though it works, you lose your display.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 15, 2007 Aug 15, 2007

Copy link to clipboard

Copied

LATEST
Thank you Azadi and Dan Bracuk ,can you give me some example or a little code for this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation