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 time out problem

session time out problem

Scheduled Pinned Locked Moved ASP.NET
help
8 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.
  • S Offline
    S Offline
    Sarfaraj Ahmed
    wrote on last edited by
    #1

    I have set timeout="120" in my web.config file, but why it has been auto logged out between 10 to 20 mins. Thanks in Advance

    Sarfarj Ahmed

    C 1 Reply Last reply
    0
    • S Sarfaraj Ahmed

      I have set timeout="120" in my web.config file, but why it has been auto logged out between 10 to 20 mins. Thanks in Advance

      Sarfarj Ahmed

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Sarfaraj Ahmed wrote:

      I have set timeout="120" in my web.config file

      There are many timeouts that can appear in a web.config file. Did you set the correct one?

      Sarfaraj Ahmed wrote:

      why it has been auto logged out between 10 to 20 mins.

      Do you have InProc session? Is the app domain recycling frequently?

      *Developer Day Scotland - Free community conference Delegate Registration Open

      S 2 Replies Last reply
      0
      • C Colin Angus Mackay

        Sarfaraj Ahmed wrote:

        I have set timeout="120" in my web.config file

        There are many timeouts that can appear in a web.config file. Did you set the correct one?

        Sarfaraj Ahmed wrote:

        why it has been auto logged out between 10 to 20 mins.

        Do you have InProc session? Is the app domain recycling frequently?

        *Developer Day Scotland - Free community conference Delegate Registration Open

        S Offline
        S Offline
        Sarfaraj Ahmed
        wrote on last edited by
        #3

        i have followed asp.net security video from asp.net website and I have done samething as they said on video.

        Sarfarj Ahmed

        A 1 Reply Last reply
        0
        • C Colin Angus Mackay

          Sarfaraj Ahmed wrote:

          I have set timeout="120" in my web.config file

          There are many timeouts that can appear in a web.config file. Did you set the correct one?

          Sarfaraj Ahmed wrote:

          why it has been auto logged out between 10 to 20 mins.

          Do you have InProc session? Is the app domain recycling frequently?

          *Developer Day Scotland - Free community conference Delegate Registration Open

          S Offline
          S Offline
          Sarfaraj Ahmed
          wrote on last edited by
          #4

          my web.cofig file as follows decryption="AES" validation="SHA1" decryptionKey="96F95BF54FCDB28DC6BADE1162FE4A130E5417EEEFB3DEDFFD94A90AD5D62143" validationKey="BBEC4E221B6735DAF71AA30C715AC001591D718F3A4FD3C5BE71985FB5F94401" />

          Sarfarj Ahmed

          A 1 Reply Last reply
          0
          • S Sarfaraj Ahmed

            i have followed asp.net security video from asp.net website and I have done samething as they said on video.

            Sarfarj Ahmed

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

            Sarfaraj Ahmed wrote:

            have followed asp.net security video from asp.net website and I have done samething as they said on video.

            Rather that doing the things in first step, first of all you need to know why you are doing that. Did you gone through the Colin's question?

            cheers, Abhijit CodeProject MVP

            1 Reply Last reply
            0
            • S Sarfaraj Ahmed

              my web.cofig file as follows decryption="AES" validation="SHA1" decryptionKey="96F95BF54FCDB28DC6BADE1162FE4A130E5417EEEFB3DEDFFD94A90AD5D62143" validationKey="BBEC4E221B6735DAF71AA30C715AC001591D718F3A4FD3C5BE71985FB5F94401" />

              Sarfarj Ahmed

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

              Sarfaraj Ahmed wrote:

              my web.cofig file as follows

              and where is your Session State Settings?

              cheers, Abhijit CodeProject MVP

              S 1 Reply Last reply
              0
              • A Abhijit Jana

                Sarfaraj Ahmed wrote:

                my web.cofig file as follows

                and where is your Session State Settings?

                cheers, Abhijit CodeProject MVP

                S Offline
                S Offline
                Sarfaraj Ahmed
                wrote on last edited by
                #7

                i did not use any session state setting

                Sarfarj Ahmed

                C 1 Reply Last reply
                0
                • S Sarfaraj Ahmed

                  i did not use any session state setting

                  Sarfarj Ahmed

                  C Offline
                  C Offline
                  Colin Angus Mackay
                  wrote on last edited by
                  #8

                  Then that's your problem. You are using the default session state settings which is InProc time-out after 20 minutes.

                  *Developer Day Scotland - Free community conference Delegate Registration Open

                  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