Hi forum,
I have 2 webapp called app1 and app2 under webapps directory. In app1 I do:
<%
session.setAttribute("LASTNAME","SMITH");
%>

In app2, I do:
<%
String lastname = (String)session.getAttribute("LASTNAME");
out.println("lastname = " + lastname);
%>
Then I got lastname equal null.

It seems like app1 and app2 not understand the other's session object. My question is:
Is there a way I can set lastname in app1 and retrieve lastname in app2?

Thanks everyone.

-Hoang



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to