Hello,
When we try to upload a long file to a servlet we encounters a problem with
the session
timeout because of the long time it takes to upload the file over a slow
connection (sometimes
several hours).
It seems that the problem is in the way the session timeout is specified in
the servlet
session. It measures time between request, not just idle time (no activity
related to
that session).
A possible solution would be to increase the session timeout to several
hours but
this will affect also affect the automatic logout of users
after a predefined idle time period (by the automatic invalidation of the
session).
Is there a way to reset the session timer as if a new request has arrived ?
With this option, we could add to the loop that reads the incoming files a
periodic
call that will reset the session timeout (watchdog).
Thanks,
Tal