This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing the session object around..

 
sandy gupta
Ranch Hand
Posts: 228
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a WEB APP( a .war) that calls a servlet( an independent servlet ) to handle the sessions and the servlet furthur calls another .war; The problem is that the session object that the servlet creates is not accessible to the 2nd war. Is there any way i can get the same session object in the 2nd web app.
Thanks in advance
Sahil
p.s: i am using wl app server
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sessions are not shared between WARs. Surely if you have all this code which needs to cooperate, it should be in the same web application. Why do you have an indpendent servlet at all?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic