Fellow Monks:
Here is the gist of what I am trying to accomplish and the stumbling block (hopefully minor) that I have encountered.
I am creating a data download tool that interacts with a database. The user selects the data items and time range then submits the request through the HTML/CGI web interface. The selected variables/info are transfered to the associated perl script which downloads and presents the data via an anonymous ftp link. When the data request is submitted to the script a popup-progress window is generated indicating that the download is in-progress.
Now normally when the process is initiated for small to medium sized data requests the perl script, as planned returns to the progress popup the display note the the download is done and provides a link to the data. This is good to go up to about 5 minutes or so of wait time. With larger downloads the script continues to run, but from what I can guess the window times out and the connection between the progress window and script is lost such that when the script is done and the data with directory is created the script is unable to communicate back to the original window the final data location.
Ultimately The question is: What do I need to do, what little snippet of code do I need to implement to keep this communication link alive for a time on the order of 30+ minutes or so??
Any help and or insight that you can provide would be greatly appreciated... I am thinking that this is probably something very simple that I just don't know about yet.
Thanks in advance for your help.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.