How the user session remains active between two application servers

Hi all,

I have two JSP pages in two different application servers (APP SERVER1-JSP1 and APP SERVER2-JSP2). I am invoking the JSP2 from JSP1 and I am working with JSP2, my requirement is that the user session should remains alive in APP SERVER1 while I am working with JSP2 of APP SERVER2 after thesession time out period. How can I resolve this requirement?

[385 byte] By [J2EE_doubtsa] at [2007-10-3 7:44:59]
# 1
Do some research on "Session Replication".
asabbia at 2007-7-15 2:46:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

You won't be able to persist your sessions using the standard HttpSession interface; the J2EE spec. doesn't allow you to do what you want. Some kind of SSO would allow you to persist data in a common location (perhaps a database or network share reachable from both app servers). You might also be able to set up some kind of ad-hoc network connection between the two app servers and transfer the data from the other HTTP session.

Brian

brian@cubik.caa at 2007-7-15 2:46:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...