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
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
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.
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
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
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
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
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:
%= 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