Hi Mettu
I know that no browser should enable you to do that, but i'm searching for
legal way to do it, like certificate my servlet with the client, or any
other way. The only solution i came up with is cumbersome - wrapping the
access to the 3rd party server with a servlet of mine that will take a
request from the client forward it to the server along with the required
cookie. then take the response and send it to the client. The problem with
that solution is that i have to interpret the response since i have to
replace every reference to the server with a reference to the wrapping
servlet. this is rather difficult since that server also stores file and
they can contain anything in any format.
lee
Hi Lee,
I don't think any Browser allows you to do this. This will become a
serious security Problem if allowed by Browser.
--- Mettu.
-----Original Message-----
From: Lee Elenbaas
To: [EMAIL PROTECTED]
Sent: 12/7/99 8:27 PM
Subject: Setting Cookie for another server
Is anyone knows of any way to set a cookie that the client will send to
another server?
I'm trying to implement an autologin to a server of 3rd party that uses
cookies to identify it's users. I have the cookie since my code loges
into
that server as well. The only thing left is to convince the user's
browser
to save that same cookie as if it came from the 3rd party server, to
implement the autologin. Any ideas?
lee
Lee Elenbaas
RTS Israel
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
(972) 2 5810748 ext: 207
Fax: (972) 2 5815507
------- Life building in 2 easy steps --------------
- First design the best structure you can.
- Then implement it as simple as you can.
That's the best way to complicate life!
<<Lee Elenbaas.vcf>>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html