How to let browsers be done when parent is done and not wait for childrn's finishing in CGI

Discussion in 'Perl Misc' started by Zhidian Du, Feb 21, 2004.

  1. Zhidian Du

    Zhidian Du Guest

    I am writing a CGI program and find that the browsers always wait for
    all the processes to be done, it will be done.

    What I want to do is to let browsers say "done" on its status bar when
    parent is done, which is very short and do not let it say
    "transferring data...." since childrn take very long time.

    How to do it.

    Thanks.

    Z. Du


    FORK: {

    if ( $pid = fork ) {
    print "You will receive email shortly.\n";
    print $query->end_html();
    exit 0;
    }
    elsif ( defined $pid ) { #main part

    #time in child taken is very long
    # and send email to clients
    }

    }
     
    Zhidian Du, Feb 21, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luigi Donatello Asero

    Let or not let the text float

    Luigi Donatello Asero, Jan 15, 2004, in forum: HTML
    Replies:
    6
    Views:
    484
    Steve R.
    Jan 15, 2004
  2. Erik Johnson
    Replies:
    1
    Views:
    414
    Donn Cave
    Aug 17, 2004
  3. jkn
    Replies:
    9
    Views:
    9,121
    robin
    Feb 27, 2006
  4. tshad

    File Download not finishing Sub

    tshad, Nov 7, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    393
    tshad
    Nov 8, 2006
  5. Zhidian Du
    Replies:
    2
    Views:
    115
    David Efflandt
    Feb 21, 2004
Loading...

Share This Page