We are generating an Unique Number and storing the same in a variable called 
temp and adding it to the Session. We are now passing this variable temp in a 
URL to another server say Server-2 for transactions. 
Now from Server-2 the same value will be sent in the URL to Server1. 

The value from Server-2 will be compared to the value in the Server-1 which is 
in Session. 

When the value is tried to retrive from the session ,the session is getting 
Destroyed. 

This is what the code I have written 


if(session.getAttribute("USER1")!=null) 
{ 
String userFromSession = session.getAttribute("USER1").toString(); 


String user1 = request.getParameter("user1"); 


Can you please suggest a solution for this. 


Regards 
Kiran 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899875#3899875

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899875


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to