There are probably a thousand different ways to manage it depending on what exactly you are trying to do. Javascript can open up windows and control the windows. So you can open a window, submit several forms there, and close it -- or even submit the last form there. You can also use some black magic on the server side, or a thousand other things. Go to Expedia.com and walk through the javascript it takes you to get to the "My Profile" link for an example. It doesn't submit any forms, but (perhaps to foil spiders) sets cookies and then does a document.location = newURL to jump from page to page. Things like this aren't common, but they are out there to spoil spiders on sites that have a reason to not want their sites spidered -- i.e. ebay, paypal, similar sites.


Want to support the EFF and FSF by buying cool stuff? Click here.

In reply to Re: Re: LWP multi-form POST by Vautrin
in thread LWP multi-form POST by jagb

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.