This is in regards to a issue related with large File Upload and J2EE
When a large file is uploaded from a web application and that transfer rate exceeds the session timeout, the user is back to login page.
Required Testcase -
The session should not expire when file is getting uploaded
There are multiple options to address this situation, however nothing seems to fit appropriately. I cannot increase session timeout as it will affect overall application, there is a security risk if session is set to max (setMaxInactiveInterval as -1).
I am thinking in line on implementing something at listner level (but looks like the HTTPSessionListner will come late as handler) or something to keep the session alive using META-REFRESH
I am looking if someone has dealt with this scenario before and how that's implemented (if there is any other better solution that could address this quite obvious scenario)
Really appreciate feedback