File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Session Timeout on Weblogic and Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Session Timeout on Weblogic and Websphere" Watch "Session Timeout on Weblogic and Websphere" New topic

Session Timeout on Weblogic and Websphere

Amber Vaidya
Ranch Hand

Joined: Oct 14, 2003
Posts: 42
Hi All,

I have a webpage with 2 frames. One frame contains a HTML menu, with each link of this menu, opening a page (JSP) in the other frame.
The menu and most of the other pages are deployed on Websphere Application Server 3.5.
But, one of these pages is an external application deployed on Weblogic 6.1.

My problem is as follows:

If the user stays on the page hosted on Weblogic for more than 1 hour and then clicks on the menu, Websphere times out and throws the application login page. The same happens if the user stays on the Websphere part of the application for more than an hour and then tries to access the Weblogic part.
I want to prevent this because to the end user, its one single application.

Any suggestions on how to avoid this?
Any help is appreciated.

Thanks in advance.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33130

I'm not sure if what you'd like to do is share an HttpSession across the servers or share the authentication.

HttpSession: you can't share an HttpSession across web apps, let alone app servers by different vendors.

authentication: you need to see if the two vendors support a shared domain for authentication. I know you can do it in different WebSphere apps. Not sure if you can for WAS/WL.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Session Timeout on Weblogic and Websphere
It's not a secret anymore!