File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to maintain/preserve session between applications on same AS? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to maintain/preserve session between applications on same AS?" Watch "How to maintain/preserve session between applications on same AS?" New topic
Author

How to maintain/preserve session between applications on same AS?

Larry David
Greenhorn

Joined: May 17, 2011
Posts: 2
I have an AS with two applications deployed on it.

One bounces to the other to do a login workflow, stores a user data object in the session, then bounces back to the first application - again, all within the same AS.

I am losing the session data when I bounce back from the second application to the first - the user data object is not there (null) when I try to access it.

Is there any means of preserving or maintaing sessions or session data between applications on the same AS?

Thanks for your time.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

AS?

Perhaps, application server? It'd be best to spell it out.

Which one?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Larry David
Greenhorn

Joined: May 17, 2011
Posts: 2
WebLogic 10.3 AKA 11

I've modified my applications since the initial posting from response.redirects to servletContext.getRequestDispatcher(url_string).forward(request,response) with no change - I'm still losing the session between the applications.

Thanks for your time.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to maintain/preserve session between applications on same AS?
 
Similar Threads
Session or hidden form
sharing session objects
JSF Problem: session is shared between all clients
Session Management problem
Pattern for coordinating Session Timeouts between Web Applications