> From: Sai Pullabhotla [mailto:sai.pullabho...@jmethods.com] > Subject: Re: Uploading large files and session timeout
> As far as changing the session timeout from the servlet, I do not > think it works well when multiple uploads are going simultaneously > under one session, if we reset (we must, we cannot leave the timeout > at infinity) the timeout to normal value after each upload. Don't reset it after each upload, reset it after all uploads for a session are done. Just keep an atomic counter of the number of active uploads and only reset the session timeout when it's zero. > And finally, what is the use of "disableUploadTimeout" on tomcat's > connector? Is it for session timeout or the actual socket timeouts? Socket - and the default value is already true. - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org