Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

AW: cookies

Michael Schifferdecker

2003-07-10

Replies:

Actually a nice combination of name (Kukies) and subject (cookies) for German native spaeakers ;-)

 

-----Ursprüngliche Nachricht-----
Von: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:SERVLET-INTEREST@JAVA.SUN.COM] Im Auftrag von Günter Kukies
Gesendet: Donnerstag, 10. Juli 2003 10:45
An: SERVLET-INTEREST@JAVA.SUN.COM
Betreff: cookies

 

Hi,

i use a machine1 with tomcat as a portal to do userauthentification and there is an other machine2 without tomcat that is providing a service with its own userauthentification. Machine2 uses POST to receive user and password and stores the session in cookies at the client. Machine 1 and 2 can handle the same users with the same passwords. I want to use only one login at machine1 and pass the login data to machine2. I have a servlet on machine1 that passes the data via POST to Machine2. Its an URL-Connection. I cant use a redirect while machine 2 only accepts POST. Do you see a method to pass the cookie back from machine 2 via machine 1 to the client . Or is it possible to hold the cookies from machine 2 on machine 1, so that machine1 simulates the clients for machine2.

Thanks for any help

Günter

©2008 junlu.com - Jax Systems, LLC, U.S.A.