NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

Replies are listed 'Best First'.
Re: not really perl related SSL question
by arturo (Vicar) on Feb 15, 2001 at 22:32 UTC

    Assuming I understand the problem correctly: your client is connected to server A; you want to get the info the client has entered into forms SECURELY to HTTPS server B, and redirect the client to server B.

    Here's how I might do it (a bit Rube-Goldberg-y, but ...):

    1. POST the info via LWP, over HTTPS (requires some tricksyness) to a CGI running on server B.
    2. CGI on B stores the info, creates a session ID, then passes the session ID back (via HTTPS) to server A.
    3. Server A sets a cookie on the client, or passes back the session ID via the URL in the redirect, which is of course an HTTPS url.

    Unless, of course, there's some other way of safely exchanging info between A and B (like, say, an RDBMS to which they can both securely connect?)...

    Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Re: not really perl related SSL question
by tune (Curate) on Feb 15, 2001 at 23:38 UTC
    OK, after some digging, I have found out, that my problem cannot be solved. It is because i cannot order the browser to send out another request, since my script is responsing to a request basically. Maybe that is why I have got the downvotes. Please NodeReaper kill this node... :-(

    -- tune

A reply falls below the community's threshold of quality. You may see it by logging in.