Hello,

I have a question regarding passing session object between 2 servlets
running in 2 different web servers. The requirement is as follows:

A request is coming in from a browser to a servlet 1 in web server 1.
The web server 1 creates a session and stores user credentials in the
session. It then passes the request to servlet 2 in web server 2. Now,
servlet 2 in web server 2 responds directly to the browser and continues
the interaction with the browser directly without going through the web
server 1.

- Finally, after all the responses are completed, the servlet 2 should
return control back to servlet 1 in web server 1. How can this be
achieved?
- The web server 1 should not lose the original session context. How can
this be achieved because it might time out?
- How the session object from servlet 1 to servlet 2 can be passed so
that all of the entities involved, namely the browser, the servlet 1,
servlet 2 operate within the same session context?

Thanks in advance.

Regards,
Sagar

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to