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. Doubt abt Session time out expired

Doubt abt Session time out expired

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
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.
  • M Offline
    M Offline
    micydon
    wrote on last edited by
    #1

    Hi I am using ASP.NET with VB as code behind. In my application i hve set the session time out to 70m. So after 70 m if my application is idle the session get expired. I dont want to give any limit to this time out. ie, i want my application to be alive, if more than 70m it was kept idle, Is there any method for not specifying any timeout limit . Wht will happen if we dont give that time out stmt in web.config. pls help me this is very urgent Thanks in advance With Regards anitha

    G 1 Reply Last reply
    0
    • M micydon

      Hi I am using ASP.NET with VB as code behind. In my application i hve set the session time out to 70m. So after 70 m if my application is idle the session get expired. I dont want to give any limit to this time out. ie, i want my application to be alive, if more than 70m it was kept idle, Is there any method for not specifying any timeout limit . Wht will happen if we dont give that time out stmt in web.config. pls help me this is very urgent Thanks in advance With Regards anitha

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Why do so many write "doubt" when they mean "question"?

      micydon wrote:

      In my application i hve set the session time out to 70m.

      70 meters? ;)

      micydon wrote:

      Is there any method for not specifying any timeout limit .

      No. If you would not have a timeout on sessions, it would mean that a Session object would be created for each visitor, and the objects would remain in memory forever. After a while the memory would fill up with Session objects, and the server would die.

      micydon wrote:

      Wht will happen if we dont give that time out stmt in web.config.

      You will get the default timeout specified in the settings for the web site. This is 20 minutes by default.

      --- single minded; short sighted; long gone;

      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