Keeping a Session alive during long downloads

Discussion in 'ASP .Net' started by hoenes1, Aug 16, 2004.

  1. hoenes1

    hoenes1 Guest

    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.
     
    hoenes1, Aug 16, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?RGF2ZSBBbHZhcmFkbw==?=

    Keeping a session alive when accessing an ASP page with .Net code

    =?Utf-8?B?RGF2ZSBBbHZhcmFkbw==?=, Sep 1, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    665
    =?Utf-8?B?RGF2ZSBBbHZhcmFkbw==?=
    Sep 1, 2005
  2. Michael Fortin
    Replies:
    1
    Views:
    5,743
    John C. Bollinger
    Oct 12, 2004
  3. Replies:
    1
    Views:
    643
    Hans Kesting
    Sep 19, 2008
  4. hisan
    Replies:
    1
    Views:
    1,363
    Dan Stromberg
    Jun 25, 2012
  5. Kevin Walzer
    Replies:
    1
    Views:
    179
    Grant Edwards
    Dec 29, 2012
Loading...

Share This Page