Hello every body,

 I get two questions.


Question I
==============

We already spoke about the relation between browser, server, cookie
and we mentioned that a cookie is linked to a specific server.

Ok, fine.

Could some one explain me what is the purpose of the method setDomain of the
class Cookie ?


Question II
=============

We try to do a such schema :

 - a browser 1 connect to a HTTP server 1
 - This HTTP server 1 redirects the request to a HTTP server 2
   using the method sendRedirect on the response object
 - the HTTP server 2 creates a connection to a HTTP server 3 ( using socket
and so on)
   and we would like to establish a http connection (including session)
between the
   browser 1 and the HTTP server 3.

Why doing a such thing ? This a way to link two intranets throught two
gateways (HTTP server 1 and HTTP server 2). Like that the user connected on
the first intranet can access to servers on the second intranet.

Of course the HTTP connection and session is identified by a cookie and we
try to play
with cookies. For example change the cookie made by server 2 to do as it
comes from
server 3 but that does not run (of course ... as the previous discussion
here explained).

Does some one get an idea on a such problem (if my explanation is not too
confuse ? )


Bernard Granier
Mr Ted
115 rue du Fbg Poissonniere
75009 Paris
www.MrTed.com
Tel : 33 1 55 31 02 65
mail : [EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to