Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes setting of session between 1 pc and 2 servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "setting of session between 1 pc and 2 servers" Watch "setting of session between 1 pc and 2 servers" New topic
Author

setting of session between 1 pc and 2 servers

think
Greenhorn

Joined: Aug 17, 2001
Posts: 2
hi,
i've a session question here....hope someone can give me some opinion. suppose i have two server(A,B), server B has a servlet which is used to set session //HttpSession session = request.getSession(true);// , server A has a servlet that can be used to connect to server B's set sesstion servlet // u = new URL("http://linux/tvbank/servlet/ShowSession"); //
now my question is: suppose i have a pc(X), pc X send a http request to servlet A, the servlet A will connect to servlet B and run the set session servlet. So if i want the session to be maintained between server B and my pc X, what should i do??
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

"think"

your name doesn't agree with the javaranch guidelines.
please take a moment and re-register after reviewing the
guidelines at http://www.javaramch.com/name.jsp
thanks for your cooperation.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
think
Greenhorn

Joined: Aug 17, 2001
Posts: 2
nvm forget it
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: setting of session between 1 pc and 2 servers
 
Similar Threads
how can i write a servlet to connect to a fixed url periodically?
cookie explanation
session problem in jsp
about session
Connecting two mobiles through socket connection