Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Session Timeout

Session Timeout

Scheduled Pinned Locked Moved ASP.NET
helpsysadminperformancelearning
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LeeOvEngland
    wrote on last edited by
    #1

    I am encountering a session timeout problem with my ISP. I need to get a few facts clarified. Is it possible to keep a Session alive by using a child pop-under window with a refresh rate say every 5 secs to stop the session timing out. I believe Sessions are being dropped because of server memory resources and and to confirm this I am trying to stop the Session timing out by using the technique above. If the session then is dropped it has to be a resource issue. Thanks Lee

    S V 2 Replies Last reply
    0
    • L LeeOvEngland

      I am encountering a session timeout problem with my ISP. I need to get a few facts clarified. Is it possible to keep a Session alive by using a child pop-under window with a refresh rate say every 5 secs to stop the session timing out. I believe Sessions are being dropped because of server memory resources and and to confirm this I am trying to stop the Session timing out by using the technique above. If the session then is dropped it has to be a resource issue. Thanks Lee

      S Offline
      S Offline
      Syed Abdul Khader
      wrote on last edited by
      #2

      You can set the Session Time out values in your web.config files. This is not the problem due to server resources. No need for popup window technique.

      G 1 Reply Last reply
      0
      • L LeeOvEngland

        I am encountering a session timeout problem with my ISP. I need to get a few facts clarified. Is it possible to keep a Session alive by using a child pop-under window with a refresh rate say every 5 secs to stop the session timing out. I believe Sessions are being dropped because of server memory resources and and to confirm this I am trying to stop the Session timing out by using the technique above. If the session then is dropped it has to be a resource issue. Thanks Lee

        V Offline
        V Offline
        V 0
        wrote on last edited by
        #3

        In the Global.asax file there 's a function protected void Session_End(Object sender, EventArgs e){} Your app will come here when the session ends, so maybe you can do something here? (Note: In this function the Session[""] objects are still valid.) good luck. No hurries, no worries.

        1 Reply Last reply
        0
        • S Syed Abdul Khader

          You can set the Session Time out values in your web.config files. This is not the problem due to server resources. No need for popup window technique.

          G Offline
          G Offline
          gnjunge
          wrote on last edited by
          #4

          Syed Abdul Khader wrote: This is not the problem due to server resources. Well in the following scenario sessions can be dropped due to server resources: - the server is IIS 6 (windows 2003) - his application runs in an application pool where a maximum memory usage is defined - his app has a memory leak In this situation, his app is using more and more memory, untill it hits the maximum defined in IIS. The app will then restart, and all sessions will be lost. Gidon

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups