wood burning stoves 2.0*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

Handling Session

Atul Oberoi
Greenhorn

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 window.open.The 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 !


Regards,

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

Joined: Nov 24, 2005
Posts: 14687
    
  16

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
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Handling Session
 
Similar Threads
Handling Session
Authentication using EJB in JSF
Issue in session manegement
Hibernate performance issues using huge databases
J2EE Design Question -- Am I On The Right Track?