CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
POSTing from within a script

 



bennage
Deleted

Aug 30, 2000, 10:07 AM

Post #1 of 2 (281 views)
POSTing from within a script Can't Post

I am working on a project where a user jumps between two web servers, and my client wants the user to think it is one site.
Hence, I need to pass authentication data between the two servers without the user knowing it.
I want to have a CGI script on Server A that reads some data from a database and then POSTs the data to Server B.
The idea is similiar to simply redirecting the browser from Server A to Server B; the catch is that I want to POST data to Server B without the user seeing it.
Can this be done? Help!

------------------
Christopher Bennage


TheGame+
Deleted

Aug 30, 2000, 4:06 AM

Post #2 of 2 (281 views)
Re: POSTing from within a script [In reply to] Can't Post

The LWP module allows you to do that. Most likely, you already have it in your Perl distribution, so check out its documentation - type 'perldoc LWP' on your terminal/DOS box, or check out the Online Documentation.

There are some good examples in lwpcook : type 'perldoc lwpcook' or see http://theoryx5.uwinnipeg.ca/CPAN/data/libwww-perl/lwpcook.html for more info.

Note that using Server B without informing the end-user may lead to all kinds of copyright problems etc., so make sure you are allowed to do that. If Server B belongs to your client as well, no problem.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives