RE : encodeURL / jsessionid

2004-02-26 Thread PREVOSTO, Laurent
De : Mike Curwen [mailto:[EMAIL PROTECTED] Envoyé : jeudi 26 février 2004 00:25 À : 'Tomcat Users List'; [EMAIL PROTECTED] Objet : RE: encodeURL / jsessionid No, sessions are not 'server' wide, they are scoped only to a single user, of a single application. I was looking up

Re: RE : encodeURL / jsessionid

2004-02-26 Thread Philipp Taprogge
Hi! Jerald Powel wrote: Thanks for that. can you tell me then the purpose of jessionid - (methods encodeURL and getRequestedSessionId)? It seems a bit strange to pass the session around while in the session. As far as I understand, the only purpose of jsessionid and the above methods is to

Re: RE : encodeURL / jsessionid

2004-02-26 Thread Jerald Powel
Hi, Thanks for that. can you tell me then the purpose of jessionid - (methods encodeURL and getRequestedSessionId)? It seems a bit strange to pass the session around while in the session. The purpose of the original post was due to a problem persisting an object across contexts.

Re: encodeURL / jsessionid

2004-02-25 Thread Jerald Powel
That was my first move, but it was null G. Antonio_Fiol_Bonnín [EMAIL PROTECTED] wrote: %= request.getSession().getAttribute(id); % Jerald Powel wrote: Hi, I wish to maintain state across contexts and have in app1: app2 when app2 is loaded the jsessionid is visible in the

RE: encodeURL / jsessionid

2004-02-25 Thread Mike Curwen
when you say 'app1' and 'app2', what do you mean? Sessions are not shared between two different web-apps. -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 3:46 AM To: Tomcat Users List Subject: Re: encodeURL / jsessionid

RE: encodeURL / jsessionid

2004-02-25 Thread Jerald Powel
PROTECTED] Sent: Wednesday, February 25, 2004 3:46 AM To: Tomcat Users List Subject: Re: encodeURL / jsessionid That was my first move, but it was null G. Antonio_Fiol_Bonnín wrote: Jerald Powel wrote: Hi, I wish to maintain state across contexts and have

RE: encodeURL / jsessionid

2004-02-25 Thread Mike Curwen
Users List Subject: RE: encodeURL / jsessionid Hi, app1 and app2 are two applications under a single instance of TC, with different contexts (defined in the server.xml). http://localhost:8080/app1 http://localhost:8080/app2 I wish to persist data when linking across the two. I

encodeURL / jsessionid

2004-02-24 Thread Jerald Powel
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:

Re: encodeURL / jsessionid

2004-02-24 Thread Antonio Fiol Bonnín
%= 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