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
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.