tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Fiol BonnĂ­n <fiol.bon...@terra.es>
Subject Re: encodeURL / jsessionid
Date Wed, 25 Feb 2004 07:03:41 GMT
<%= 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.
>  
>


Mime
View raw message