<%= request.getSession().getAttribute("id"); %>


Jerald Powel wrote:

Hi,

I wish to maintain state across contexts and have in app1:

<% request.getSession().setAttribute("id","2004073258"); %>

<a href="<%= response.encodeURL("../app2/index.jsp") %>">app2</a>

when app2 is loaded the jsessionid is visible in the address bar:

http://localhost:8086/app2/index.jsp;jsessionid=7DD63005E4142E8C75A2E75CBAC0534

Now what do I do with it? How do I access data set on the session on the previous context?

Thanks a lot

G.



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to