in reply to Re^2: Can PERL send a 3rd party cookie to a users browser?
in thread Can PERL send a 3rd party cookie to a users browser?

I wonder if hidden iframe pointing to (the start page of?) the logon server would work. Then the browser would send request to the server (asking for the iframe's content), and the server would send a cookie along with the document. And then Javascript would submit the form.

That's in theory. I've personally never done that before. If you'll get this working, be so kind and let us know! I for one am really curious. BTW, it does look like a good way to steal other peoples passwords :)

  • Comment on Re^3: Can PERL send a 3rd party cookie to a users browser?

Replies are listed 'Best First'.
Re^4: Can PERL send a 3rd party cookie to a users browser?
by Anonymous Monk on Nov 27, 2014 at 12:30 UTC
    Anyway... to answer your question: no, you can't set a cookie for a third-party domain from your own. See RFC 6265 4.1.2.3. Maybe you should reconsider what you're trying to do.