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. How to prevent Session Time Out in Asp.net 2.0

How to prevent Session Time Out in Asp.net 2.0

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwindows-admintutorial
6 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.
  • R Offline
    R Offline
    Rajesh_K_Sharma
    wrote on last edited by
    #1

    Hi, I have hosted website in framework 2.0. I don’t want to expire session. Is there any setting in IIS 6 so that session will never expired.

    rajesh

    A N L 4 Replies Last reply
    0
    • R Rajesh_K_Sharma

      Hi, I have hosted website in framework 2.0. I don’t want to expire session. Is there any setting in IIS 6 so that session will never expired.

      rajesh

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Mode Off Indicates that session state is not enabled. Best Regards ----------------- Abhijit Jana View My Latest Article :- SpyNet : Your Network Spy "Success is Journey it's not a destination"

      N 1 Reply Last reply
      0
      • R Rajesh_K_Sharma

        Hi, I have hosted website in framework 2.0. I don’t want to expire session. Is there any setting in IIS 6 so that session will never expired.

        rajesh

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        Mode Off Indicates that session state is not enabled. Best Regards ----------------- Abhijit Jana View My Latest Article :- SpyNet : Your Network Spy "Success is Journey it's not a destination"

        1 Reply Last reply
        0
        • A Abhijit Jana

          Mode Off Indicates that session state is not enabled. Best Regards ----------------- Abhijit Jana View My Latest Article :- SpyNet : Your Network Spy "Success is Journey it's not a destination"

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          Abhijit Jana wrote:

          Mode Off Indicates that session state is not enabled

          Then he won't be able to access session. He don't want to expire the session, not disabling.

          All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

          1 Reply Last reply
          0
          • R Rajesh_K_Sharma

            Hi, I have hosted website in framework 2.0. I don’t want to expire session. Is there any setting in IIS 6 so that session will never expired.

            rajesh

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            You can increase the session time out limit in web.config file. It won't help you much. I presume you are trying to implement "Remember me next time" kind of stuff ? If so use cookies to store that information and create session each time.

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

            1 Reply Last reply
            0
            • R Rajesh_K_Sharma

              Hi, I have hosted website in framework 2.0. I don’t want to expire session. Is there any setting in IIS 6 so that session will never expired.

              rajesh

              L Offline
              L Offline
              ltom
              wrote on last edited by
              #6

              Hi, look at http://www.codeproject.com/KB/session/Session_Defibrillator.aspx.

              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