I need some help. I have a web application that is running on 2 servers (lets say A and B) and has the posibility to go from server A to server B and vice versa. My problem is that I need to keep the user logged in on both servers. What i am trying to do is to loggin the user on node A and if a page is requested from node B then pass the credentials from node A and do a login on node B. My problem is that the session on node A is lost. Is there a good solution to keep sessions opened on both servers?
Do you have one application deployed to two servers or to a cluster?
Or do you have two applications deployed to two servers?
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Joined: Apr 13, 2007
I have the same app deployed on two independent web servers, no cluster and no session replication. I need to do a remote login on both servers and this has two work also if the servers are running on the same machine but different ports (say localhost:8080 and localhost:8081)