Hey, Monks... I have a web page I'm building that allows users to upload files. Unfortunately, some of these files can be quite large and handling it via a basic post makes it appear that the browser is hanging or, worse yet, the connection eventually times out. This obviously isn't ideal or desired behavior. So, what I'd like to do is create an interim status page that shows "File Uploading," "Uploading file 6/10," "Uploading this.file.ext" or some such similar message. I thought I knew how to do this, but am not having much luck. As well, I haven't been able to find a good example of this anywhere online. Google had a few leads that looked promising, but none of them really panned out in as convenient a fashion as I'd hoped for.

Might any of you have suggestions, links, etc. that might clarify how to best address this "interim page" question? Also, is that going to help with the time-out problem or does that need to be handled separately? Any and all suggestions are appreciated! FWIW, I'm running Apache 2 w/ mod_perl. Thanks...


In reply to Interim Page Delivery While Uploading Files by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.