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 getting expired very frequently even session timeout has been set for 20 minute in asp.net 2.0.

session getting expired very frequently even session timeout has been set for 20 minute in asp.net 2.0.

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
3 Posts 3 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.
  • T Offline
    T Offline
    trilokharry
    wrote on last edited by
    #1

    Hi session getting expired very frequently even session timeout has been set for 20 minute in asp.net 2.0. how to resolve. thanks

    You get the best out of others when you give the best of yourself.

    B D 2 Replies Last reply
    0
    • T trilokharry

      Hi session getting expired very frequently even session timeout has been set for 20 minute in asp.net 2.0. how to resolve. thanks

      You get the best out of others when you give the best of yourself.

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      Did you try analyze the code.Might be you are using Session.abort() or Session.abandon() somewhere.Also just put put Session.End event in global.asax and see when it is getting called.

      Cheers!! Brij

      1 Reply Last reply
      0
      • T trilokharry

        Hi session getting expired very frequently even session timeout has been set for 20 minute in asp.net 2.0. how to resolve. thanks

        You get the best out of others when you give the best of yourself.

        D Offline
        D Offline
        doudoufly
        wrote on last edited by
        #3

        If your web application stores session data in-process which is the default behavior, the process will be restarted when this process is not instability, then your session will be lost. some files modified can be lead to restart process. such as Global.asax, Web.config, bin etc. Anti-virus software scanning .config files also can lead to restart process. my english is not very well, i hope it'll help you. my msn : fly1126@live.cn

        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