Keeping a Session alive during long downloads

H

hoenes1

Hi,

in my ASP.NET app, I use a default Session Timeout of 20 minutes.
Everything works fine and Sessions are abandoned after 20 minutes.
This is exactly the behaviour I expect: After 20 minutes of inactivity
the Session becomes abandoned. But if a user starts a large downloads
which takes far over 20 minutes, the session becomes invalidated
during the download. So the next request after the download results in
an invalid Session error. I'm aware that downloading a file is one
single request and thus the Session times out regularly. But is there
a way to manually reset the Session timeout during the download
causing the session not to invalidate?
Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top