posted 15 years ago
Hi,
We have an issue in maintaining session when we have different web
applications deployed in different servers.
details:
--------
Assume
1) "abc" web app deployed in server1
2) "xyz" web app deployed in server2 and
3) "est" web app deployed in server3
1) We have a serv1page.jsp with an iFrame/Frame in "abc" web app to access serv2page.jsp page in "xyz"
web app as shown below.
serv1page.jsp
-------
<html>
<form>
<IFRAME SRC="http://server2:8080/xyz/serv2page.jsp" id="aframe" name="aframe"
width="820" height="1500" FRAMEBORDER="0" MARGINHEIGHT="0" MARGINWIDTH="0" SCROLLING="auto">
</IFRAME>
</form>
</html>
2) The serv2page.jsp can open a new browser window (using javascript window.open function) to access
serv3page.jsp in "est" web app as shown below:
code snippet for opening serv3page.jsp from serv2page.jsp
---------------------------------------------------------
window.open("http://server3:8080/est/serv3page.jsp", "");
issue:
------
Suppose we have session timeout set to 3 min in the "abc" app, if the user is performing
some activity (eg submitting, refreshing etc) in the new/child browser window
(browser window displayig serv3page.jsp) ie if "est" app is active, the "abc" app will get timed out after
3 min.
But we want to maintain/reset the "abc" session active until "est" app is active.
Does any one came across this problem and is there any solution for this?
Please suggest.
Thanks,
vcb