Hi,
I found that in my 4-node TC5.5.5 cluster, whenever I call
request.getSession(true), a session is normally created by the master node
and replicated to all slaves. However, each slave node will mysteriously
create one additional session by its own (not replicated to others, each
with
Hi,
How can I tell between a request using an expired session vs a request
with no session at all? I need to show different messages to users being
kicked due to inactivity and to anonymous users. Thanks!
Regards,
Joseph Lam
the default behaviour of creating a new session when none
exists.
-Original Message-
From: LAM Kwun Wa Joseph [mailto:[EMAIL PROTECTED]
Sent: Wednesday 08 December 2004 08:23
To: [EMAIL PROTECTED]
Subject: How to detect expired session vs. no session?
Hi,
How can I tell between
-
From: LAM Kwun Wa Joseph [mailto:[EMAIL PROTECTED]
Sent: Wednesday 08 December 2004 09:35
To: [EMAIL PROTECTED]
Subject: RE: How to detect expired session vs. no session?
But does it have the same effect for a request with an
expired session vs
a request with no session at all? I think
String id = request.getRequestedSessionId();
if (null==id)
{
// there was no jsessionid in the request
}
else if (request.isRequestedSessionIdValid())
{
// there was a valid jsessionid in the request
}
else
{
// there was an invalid jsessionid in the request
}
In
Hi,
If I have X.jsp who is responsible for forwarding to Y.jsp using
jsp:forward, can Tomcat logs the actual page (Y.jsp) who served the
request in the access log, instead of X.jsp?
Regards,
Joseph Lam
-
To unsubscribe,
For my Tomcat cluster I'm looking for an upper limit on the estimation of
how much traffic it may face. Say, would thousands of HTTP req/s be too
'astronomical' for a 4-node Dual P4 Xeon cluster to achieve? (I'm talking
about dynamic pages such as stock quotes and news)
Does anyone know of any
I have implemented a simple HttpSessionListener dumping every new session
created. I found that my Tomcat (tried on 5.0.2x and 5.5.4) will always
create a new session for every HTTP request, even if the JSP page doesn't
request for session and the HTTP client doesn't use cookie nor post any