This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Larry David
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65118
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AS?

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

Which one?
 
Larry David
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic