thnx first cgi is processing big database for several users, also provide data entry forms based on http interface, second cgi is for file upload to the server (file renaming, viruses check etc.) so when cgi 1 is ready for data entry (generated html page) one of the fields is a link to the file upload cgi. I can't get this cgi working under sub of cgi1 because of several reasons which are not important here. When CGI 2 has uploaded and renamed the file with success it is generating info page about this success to inform the user. And here I need to copy a new name of the file (eg. $end_name of cgi2) as a hidden process into CGI1 as a variable (eg. $file_name). I do not know how to make possible this operation to be done on the client computer without server involving in it. (it maybe 100 separated sessions of this cgi programs at the time) I have never done data transfer between 2 separated cgi, I do not want make possible to track down the server paths where this file is going to be stored and what name it got renamed with. So please describe the best way to do it because I am beginner with it. I am looking for this info on the net but without any results. I can't open the cgi 2 under cgi 1 with any links like /a href=$ENV{blah blah blah}/ or /form .../ because it has a separate interface. So I am looking for possibility to copy $end_name (cgi2) to memory and paste it to $file_name (cgi1) from memory. big thnx for any help. Mark

In reply to Re^2: transfer data between 2 perl progs by cashoob
in thread transfer data between 2 perl progs by cashoob

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.