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 Timeout problem

Session Timeout problem

Scheduled Pinned Locked Moved ASP.NET
helpcss
8 Posts 6 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.
  • N Offline
    N Offline
    nour123
    wrote on last edited by
    #1

    thanks alot Ahmad very much for your response, I have a serious problem in my website (i need your help)... I'm handling a login project, where let the user to login in pageA before entering pageB or pageC. When running at localhost, everything was fine. Now the problem is when i put into the webserver. The session timeout within 30sec or less eventhough i had code :- set Session(Login) = user in pageA - Session.Timeout = 60 (in pageB & pageC during pageload!) If Session(Login) = Nothing Then respone.redirect(PageA) Else ............... Although I set the session timeout in web.config as well, it didn't work in web.config: I set the session state to be inProc (didn't work) also i did: <sessionState mode="StateServer" stateConnectionString="tcpip=65.182.97.156:42424" cookieless="false" timeout="20" /> and it didn't work... Pls Help! many Thanks!

    Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

    B V T 3 Replies Last reply
    0
    • N nour123

      thanks alot Ahmad very much for your response, I have a serious problem in my website (i need your help)... I'm handling a login project, where let the user to login in pageA before entering pageB or pageC. When running at localhost, everything was fine. Now the problem is when i put into the webserver. The session timeout within 30sec or less eventhough i had code :- set Session(Login) = user in pageA - Session.Timeout = 60 (in pageB & pageC during pageload!) If Session(Login) = Nothing Then respone.redirect(PageA) Else ............... Although I set the session timeout in web.config as well, it didn't work in web.config: I set the session state to be inProc (didn't work) also i did: <sessionState mode="StateServer" stateConnectionString="tcpip=65.182.97.156:42424" cookieless="false" timeout="20" /> and it didn't work... Pls Help! many Thanks!

      Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

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

      Check it[^] Posting same question again and again won't help at all.

      Cheers!! Brij

      N 1 Reply Last reply
      0
      • B Brij

        Check it[^] Posting same question again and again won't help at all.

        Cheers!! Brij

        N Offline
        N Offline
        nour123
        wrote on last edited by
        #3

        Dear I don't need any help from you, luv, thanks for your reply.. and still waiting more :)

        Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

        N 1 Reply Last reply
        0
        • N nour123

          Dear I don't need any help from you, luv, thanks for your reply.. and still waiting more :)

          Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          nour123 wrote:

          still waiting more

          you'll have a long wait


          only two letters away from being an asset

          N 1 Reply Last reply
          0
          • N Not Active

            nour123 wrote:

            still waiting more

            you'll have a long wait


            only two letters away from being an asset

            N Offline
            N Offline
            nour123
            wrote on last edited by
            #5

            b a b y it seems that you didn't understand i wrote.. thanks for (y o u r) reply.. thanks H o N e Y mmmmmmmmoa

            Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

            L 1 Reply Last reply
            0
            • N nour123

              thanks alot Ahmad very much for your response, I have a serious problem in my website (i need your help)... I'm handling a login project, where let the user to login in pageA before entering pageB or pageC. When running at localhost, everything was fine. Now the problem is when i put into the webserver. The session timeout within 30sec or less eventhough i had code :- set Session(Login) = user in pageA - Session.Timeout = 60 (in pageB & pageC during pageload!) If Session(Login) = Nothing Then respone.redirect(PageA) Else ............... Although I set the session timeout in web.config as well, it didn't work in web.config: I set the session state to be inProc (didn't work) also i did: <sessionState mode="StateServer" stateConnectionString="tcpip=65.182.97.156:42424" cookieless="false" timeout="20" /> and it didn't work... Pls Help! many Thanks!

              Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

              V Offline
              V Offline
              Vimalsoft Pty Ltd
              wrote on last edited by
              #6

              The Session timeout can be set on the IIS.

              Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswam@its.co.za

              1 Reply Last reply
              0
              • N nour123

                thanks alot Ahmad very much for your response, I have a serious problem in my website (i need your help)... I'm handling a login project, where let the user to login in pageA before entering pageB or pageC. When running at localhost, everything was fine. Now the problem is when i put into the webserver. The session timeout within 30sec or less eventhough i had code :- set Session(Login) = user in pageA - Session.Timeout = 60 (in pageB & pageC during pageload!) If Session(Login) = Nothing Then respone.redirect(PageA) Else ............... Although I set the session timeout in web.config as well, it didn't work in web.config: I set the session state to be inProc (didn't work) also i did: <sessionState mode="StateServer" stateConnectionString="tcpip=65.182.97.156:42424" cookieless="false" timeout="20" /> and it didn't work... Pls Help! many Thanks!

                Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

                T Offline
                T Offline
                ToddHileHoffer
                wrote on last edited by
                #7

                I didn't see your original post so I'll help you out. I would check settings in IIS to see when the application pool is recycled and if aspnet worker process is being restarted. Both of those events would kill your session.

                I didn't get any requirements for the signature

                1 Reply Last reply
                0
                • N nour123

                  b a b y it seems that you didn't understand i wrote.. thanks for (y o u r) reply.. thanks H o N e Y mmmmmmmmoa

                  Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)

                  L Offline
                  L Offline
                  leckey 0
                  wrote on last edited by
                  #8

                  Don't be rude to people on the board--you'll never get ANY help.

                  "Well, we're getting "F"'d at work. WPF, WCF, and WWF... WTF?" --John Simmons

                  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