Hey folks,

     I have several questions I'm trying to figure out the answer to,
all in the pursuit of a single goal.  My current most likely question,
to which I hope the answer is yes, is:

     "Can I take a CGI-Post of form data to my server, record the
posted data, and then send back a header such that the browser
re-posts the data to another server?"

     Current situation:

     Two webservers, call them A and B.
     Both webservers have the same root domain name (e.g. blah.com).
     Both webservers run Netscape server with livewire, etc.
     We have full access to webserver A and only enough access to
          modify the HMTL and  livewire (serverside javascript) on 
          webserver B, with a delay of days to get updates added to
          pages.
     User is using a browser that can do javascript 2 and full 128 bit SSL.

     User comes to webserver A, browses, etc.  Clicks on a link.
     Webserver A redirects user's browser to Webserver B login page.
     User fills out login form which is sent to server via CGI post 
          over a 128-bit SSL session.


     We need, at a minimum, to get the login information back to
Webserver A.  Sure, we could simply require users to log in twice,
once at each site, but that would mightily annoy them.  A secondary
but good thing would be to move the first stage of the login process
transparently to Webserver A.

     I've considered some alternative approaches, but the idea above -
redirecting the browser to repost after snagging the data - would
probably be the cleanest and easiest.  Other approaches:

     Put the login page on Webserver A and have the user fill it out
and submit it.  Webserver A runs a proxy that essentially acts like a
client, opening a 128-bit SSL connection to Webserver B, sending the
login data, taking the response and sending it back to the user's
browser.  To do the proxy part is fairly simple, but I don't know
about the 128-bit SSL connection part.

     Or, alternatively, if Netscape Livewire (server-side Javascript)
can do it, have Webserver B do the same via Javascript - post the
user's login data back to Webserver A. I don't do Livewire, so I don't
know if Livewire can open connections to external servers.  If it can,
I would hope that, since it's part of Netscape, the 128-bit SSL part
would be easily available.

     Or, as another alternative, is it possible to build the actual
login page with client-side Javascript that simultaneously submits it
to both servers?

Steven J. Owens
[EMAIL PROTECTED]


____________________________________________________________________
--------------------------------------------------------------------
 Join The NEW Web Consultants Association FORUMS and CHAT:
   Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
   Give the Gift of Life This Year...
     Just4U Stop Smoking Support forum - helping smokers for
      over three years-tell a friend: http://just4u.com/forums/
          To get 500 Banner Ads for FREE
    go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------

Reply via email to