Hi

I am attempting to build an automated logon to a secure site. Users in my clients portal should be able to click a logon button and gain access to the site without any further action needed.

I have succesfully achieved this using LWP. I am able to pass the page retrieved by LWP back to the user but if the user clicks on link in that page to another page within that secure site they are immediately logged out.

The reason is because the required session cookie is sitting in LWP's cookie jar on my server and not in the users browser (on their PC)

Is there any way I can pass the secure sites cookie back to the users browser and still have the browser believe that the cookie has come from the secure sites domain rather than the domain of my server and the LWP program?

Or is that too much like criminal behaviour! :)

Thanks


In reply to Can PERL send a 3rd party cookie to a users browser? by OpenSpace

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.