yangtse has asked for the wisdom of the Perl Monks concerning the following question:

Hi Forks,

I am using Perl to write cgi to generate report. As the database is quite large the process usually takes about 10 min, Sometimes user keeps on pressing "submit" because the report was delyed too long, this actually makes things even worse.

My Question:

1. Can I display a "Loading Page" to tell user his request is being processed untill the process's done, it will display the report page?

2. If I can NOT display the loading page, can I set up some kind of script to avoid the user sumbmit same request again and again when the first one is being processed ?

Any help will be appreciated!!!

  • Comment on Loading page before the cgi exports all the data ?

Replies are listed 'Best First'.
Re: Loading page before the cgi exports all the data ?
by DamnDirtyApe (Curate) on Aug 21, 2002 at 14:50 UTC

    I believe merlyn's article here covers that.


    _______________
    DamnDirtyApe
    Those who know that they are profound strive for clarity. Those who
    would like to seem profound to the crowd strive for obscurity.
                --Friedrich Nietzsche
      Thanks a lot! That is cool!!!
Re: Loading page before the cgi exports all the data ?
by dug (Chaplain) on Aug 21, 2002 at 14:55 UTC