File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Handling Session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Handling Session

Atul Oberoi

Joined: Oct 14, 2005
Posts: 19
Hi Ranchers,

Could you please help me out in migrating session from one jvm to another jvm.This is something like managing session across jvms.I know it can be done by serialzation but iam not finding out the exact way to make it happen.
I have one application which calls another one by first one sets cookies and second gets.When i try to get remote user in second and session's attribute, i get some junk and new session.So i think the only way to pass remote user is through session by migrating it.

Thanks in advance !


[ March 28, 2007: Message edited by: Bear Bibeault ]
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Could you please help me out in migrating session from one jvm to another jvm.

This won't help but I've heard about session being migrated by the container in distributed environments, but never about explicitly migrating session.

Can't you pass the necessary information as request parameters instead ?

[My Blog]
All roads lead to JavaRanch
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Handling Session
It's not a secret anymore!