PDA

View Full Version : passing session from one application to another


Robin John
09-11-2008, 05:19 PM
Hi,

i am dealing with 2 applications (2 ears) and i need the session to be the same throughout the 2 applications, to deal with session timeout.

i am doing a response.sendRedirect(actionUrl);
but its creating a new request totally and 'm loosing the session and other objects present in session.

i dont want to store the data in DB as well.

how to get to the other application with the same session intact.

any help would be grateful. thanks in advance.

shyam
09-12-2008, 12:36 PM
you cannot pass the session from one application to another...you can use an entirely different application like SSO to keep track of a user session between applications. But, here again you will not be allowed to store custom session objects for use everywhere.