AFAIK getRequestedSessionId() should alway return somthing if there
is a session id present (cookie or url encoded) no matter wether the
session id is valid or not.
Can you read the JSESSIONID cookie ?
Cookie[] mCookies = request.getCookies();
if ((mCookies == null) || (mCookies.length == 0)) {
<PrintOut>("No cookies");
} else {
for (int i = 0; i < mCookies.length; i++) {
<PrintOut>(mCookies[i].getName());
<PrintOut>(mCookies[i].getValue());
}
}
(<PrintOut> is just placeholder for your favorite way of dumping
such information.)
May be you should try a newer version of tomcat (3.3.*/4.*) ?
(Even if it doesn't solve your problem, it might help to get help
from one of the developers if the problem persists)
> -----Urspr�ngliche Nachricht-----
> Von: Ivan E. Markovic [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 5. Februar 2002 13:42
> An: Tomcat Users List
> Betreff: Session not sticking after timeout << BUG?
> Wichtigkeit: Hoch
<snip/>
> getRequestedSessionId null
> isRequestedSessionIdFromCookie false
> isRequestedSessionIdFromUrl false
>
> Header: cookie "JSESSIONID=01an3f46n1"
> Header: connection "Keep-Alive"
> Header: ua-cpu "PPC"
> Header: referer
> "http://192.168.1.4/servlets/VS/servlet/VPDFProductListServlet"
> Header: accept "*/*"
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>