• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending the Session Information across Applications

 
Puttu Kittu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I am saving the data of a user in the session (session.setAttribute()) and then i want this session information of the user to be sent to a different application and still the session of the user has to be maintained HOW WOULD I DO THAT
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Session is just a object in the server identified by jsessionid.Even if you send the session id to some other application , it will not be able to locate the session.Even the object that you set in the session is stored in the server session object.

The session object might be there in the first application , but the only thing is that it will not be accessible from the second application.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sessions, according to the Servlet Spec, are per context and are not meant to be shared across applications.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!