I am trying to understand the real purpose of session configuration in Web.xml for session timeout.
<!-- Session Configuration -->
<session-config>
<session-timeout>60</session-timeout>
</session-config>
Now let me tell you about my question.
My application is importing/uploading a .txt file, which is bound to take more than 1 hour, since there are millions of records to be imported. But the session times out after 1 hour though my application is still importing that .txt file which is in progress. Such an application should not timeout as the application is doing some task in the background.