I have a application where I will upload some data to the database since the uploading time taken is large and to allow user to work on the other part of the application when the upload is in progress I am trying to upload asynchronously using PageAsyncTask
or AsyncCallback
methods. But with this I am having a problem with session timeout. Say my session timeout is set to 20 min, I start the upload asynchronously and the user does not do any operation on the application, hence after 20 min the page gets timed out, but since the upload is async
it continues. I would want to keep the session alive until the upload is complete.
I was not able to use timer in the page as the user can navigate form the page and the time would stop. Is there any way I can prevent the session getting timed out, any advice would be helpful.I Thanks