aspose 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
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: 61180
    
  66

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?