all my site users first comes on a.com. the user login by entering user name and password. on successful login i am storing an LoginBean object in to the session as attribute.
on a.com there is a link to b.com i dont want user to be authenticated again on b.com by entering his user name and password again.
i just want to migrate session object from a.com to b.com how do i achive it.
Joined: Aug 05, 2005
I think want you want is Single Sign On. I don't think is possible and good practice to migrate the session from one server to another.
Joined: May 12, 2004
Though technically in terms of web containers, this is not possible. You could do stuff like persist the session in database, possibly on the other side, do read from the DB, and do your stuff. Just a cheat solution.
Joined: Aug 15, 2005
Click on the link below and read this article. It might help you.