permaculture playing cards*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60739
    
  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.
 
wood burning stoves
 
subject: How to maintain/preserve session between applications on same AS?
 
Similar Threads
Session Management problem
Pattern for coordinating Session Timeouts between Web Applications
sharing session objects
Session or hidden form
JSF Problem: session is shared between all clients