Hi All,
   Me again. I've searched for this many a time, and I might have even posted about it before. I keep finding pages saying that it is impossible to do a redirect as a HTTP POST. As GET is obviously easy. But I cannot believe there is no way of doing a redirect to another script as if someone had filled out a HTML form with the method set to POST. After all on Windows you can choose nph (non parsed headers) and surely you can create the correct headers and send the POST data? Using LWP would not be suitable as I want to pick up the visitors browsers cookies (not LWP cookies).

If anyone knows for sure it'll be one of you guys. Please let me know how it's done.


Lyle

In reply to Redirecting with a POST by cosmicperl

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.