-2

I need to redirect from one domain into an another. Hence I am using sendRedirect(url). But i need to also get few attributes which were set in session. Is there any way to get the session attributes after using sendRedirect(url)?

JavaLearner
  • 389
  • 1
  • 3
  • 8

1 Answers1

0

Normally it's impossible to access one application session from another. If you're redirecting you can pass required attributes in the url (but maybe it's not the best idea, conisder security for this approach). Some servers may have some magic tricks to share sessions between applications deployed on the same server (I think it's possible in weblogic)

Nadir
  • 1,369
  • 1
  • 15
  • 28