How to keep HTTP Session alive (while big file processing)
Hello All;
I want to ask you how can I make my HTTP session to avoid to time out if my browser is busy in the request processing of a very large file.
Requirement: I have a jsp where user is allowed to give a very large file for processing. And there are chances that while user will be waiting for processing its request the session will time out.
So what I want to do is to throw asynchronous calls from the my Java code to browser (after lets say every 10 minutes). If processing ends up I will stop this "pushing" to client browser .
Is my solution is right to keep session alive? and how can I achieve this? I need an idea to implement it. Or if you have another idea about it, please share with me.
I hope my problem is plane easy to understand.
Thanks in advance.
-- Tahir