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 clears before timeout in asp.net 2.0

Session clears before timeout in asp.net 2.0

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netsysadminquestion
2 Posts 2 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.
  • J Offline
    J Offline
    jagmit20
    wrote on last edited by
    #1

    i m using InProc mode for session in web config,I have set session Timeout="60" for both cookies and session.But all session expires anytime (say after 5 min or 10 min,sometimes 30 min) even when i browsing pages.My application is on single server and i am Not doing any updation for application. As the session Timout not occurs,so it doesnot redirect me to login page. Can anyone help me regards this problem??? Thanks in advance jagmit

    W 1 Reply Last reply
    0
    • J jagmit20

      i m using InProc mode for session in web config,I have set session Timeout="60" for both cookies and session.But all session expires anytime (say after 5 min or 10 min,sometimes 30 min) even when i browsing pages.My application is on single server and i am Not doing any updation for application. As the session Timout not occurs,so it doesnot redirect me to login page. Can anyone help me regards this problem??? Thanks in advance jagmit

      W Offline
      W Offline
      WillyBeamish
      wrote on last edited by
      #2

      Sessions can timeout for several reasons. Maybe the ASP.NET process is recycling. Or, you are running low on memory in which case sessions that have been inactive for a long time would be deleted. Using StateServer mode for the session will allow your session to be maintained when the ASP.NET process recycles.

      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