Ralph, I just double-checked and we are using Tomcat v3.3 (the CVS version, which I am told includes all the bug-fixes).
I added your code to my debug and this is what I got. As you can see it picks up the cookies but still getRequestedSessionId() is returning 'null'. But the Session ID is there! Help! getRequestedSessionId null isRequestedSessionIdFromCookie false isRequestedSessionIdFromUrl false -------------------------------------------------------- JSESSIONID l76m6x5o31 -------------------------------------------------------- Header: cookie "JSESSIONID=l76m6x5o31" Header: accept "*/*" Header: accept-language "en" Header: connection "Keep-Alive" Header: content-length "75" Header: content-type "application/x-www-form-urlencoded" Header: extension "Security/Remote-Passphrase" Header: host "www3.vlm-online.com" Header: pragma "no-cache" Header: referer "http://www3.vlm-online.com/servlets/VS/servlet/LogonHandlerServlet" Header: ua-cpu "PPC" Header: ua-os "MacOS" Header: user-agent "Mozilla/4.0 (compatible; MSIE 5.12; Mac_PowerPC)" I v a n ... >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]> -- Ivan Markovic SculptLight http://www.sculptlight.com (+353) 87 2939256 (+353) 1 2982205 114 Lower Churchtown Rd, Dublin 14, Ireland. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>