Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Send user to a different server

by dfaure (Chaplain)
on Jul 28, 2004 at 09:55 UTC ( #377979=note: print w/replies, xml ) Need Help??


in reply to Send user to a different server

You may need to reference explicitely the extra modules required to handle https encryption (aka: Net::SSL,...).

Anyway, Google gave me this sample, which could help you.

____
HTH, Dominique
My two favorites:
If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
Bien faire, et le faire savoir...

Replies are listed 'Best First'.
Re^2: Send user to a different server
by Michalis (Pilgrim) on Jul 30, 2004 at 07:47 UTC
    I have no problem doing the POST, the problem is, as someone else correctly said, that the data is sent back to me and I present it (and collect new data) through the NON-secure server, which is a problem.
    Thanks for the help though.
    -- Michalis

      AFAI Understand your pb, I may schematize it like:

      +----------------+ | Client Browser | +----------------+ |^ ^ |^ || / || [A] || / || [C*] || / || v| /(B2) v| +----------+ +-----------+ | HTTP Svr | | HTTPS Svr | +----------+ +-----------+ (B1) \ ^ (C1) v _ / / \ |\_/| | | \_/

      Where:

      • A: POST/OK action(request)/responses(status) exchanges required to validate form datas.
      • B: (1) storage of form datas and (2) HTTP 30(2|3) response reply when data are validated to redirect client to secured server (without forgetting passing a kind of index to stored datas).
      • C: GET/POST/OK action(request)/responses(status) exchanges around secure datas. GET (required, see below) would retrieve previously stored datas.

      You may report to this (Redirection of a POST transaction to another URL as POST) for more details about requirements.

      Caution: I've not tested this stuff, but you could merely post your perl solution to CUFP ;)

      ____
      HTH, Dominique
      My two favorites:
      If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
      Bien faire, et le faire savoir...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://377979]
help
Chatterbox?
and the sunlight beams...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-12-16 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (454 votes). Check out past polls.

    Notices?