Hi, thanks for the reply. I checked the log in the logs directory, there's nothing that says tomcat has been restarted. I run tomcat 5.0. It's an internal session id that is stored in the session. I run on windows xp pro. The JRE says version 6 in the readme.
I'm going to have a look at the keepalive and let you know if it has an impact. Thank you very much for this info. Caldarale, Charles R wrote: > >> From: Alex79 [mailto:[EMAIL PROTECTED] >> Subject: Problem with session >> >> I am running a web service on tomcat, which I am not very >> familiar with (tomcat). > > At least tell us the version of Tomcat you're using; also, although > probably not relevant for this problem, include the JRE/JDK level and > the platform you're running on. > >> A client application that sends requests to this web service >> sends the session id with a certain type of request. > > Are you referring to a session cookie or the JSESSIONID parameter (as > defined in the servlet spec), or is this a roll-your-own session > identifier? > >> After many requests (over 1000) occurring in the same session >> (in other words, by the same client), the session id no longer >> exists (the web service throws an error when the type of request >> that has the session id parameter gives an unknown session id). > > There is a maxKeepAliveRequests attribute for a <Connector> element, > with a default setting of 100. It's possible that's coming into play, > depending on the client you're using. Read about here: > http://tomcat.apache.org/tomcat-5.5-doc/config/http.html > >> Any idea if tomcat is somehow auto-refreshing my web application >> (or itself) causing my session to be cleared? > > Unlikely, but if the webapp is being restarted, it should show up in > Tomcat's logs. Have you looked at them? > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Problem-with-session-tf4585082.html#a13100920 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]