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. system idle

system idle

Scheduled Pinned Locked Moved ASP.NET
question
7 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.
  • K Offline
    K Offline
    kirthikirthi
    wrote on last edited by
    #1

    HI all i have an login page for user. If The user login and if he kept the System idle for 5 min then how can i kill the session can any one give me an idea on this Than Q Keerthi

    P S N 3 Replies Last reply
    0
    • K kirthikirthi

      HI all i have an login page for user. If The user login and if he kept the System idle for 5 min then how can i kill the session can any one give me an idea on this Than Q Keerthi

      P Offline
      P Offline
      Parwej Ahamad
      wrote on last edited by
      #2

      Hi, The Timeout property specifies the time-out period assigned to the Session object for the application, in minutes. If the user does not refresh or request a page within the time-out period, the session ends. Session.Timeout [=nMinutes]

      Parwej Ahamad g.parwez@gmail.com

      N 1 Reply Last reply
      0
      • K kirthikirthi

        HI all i have an login page for user. If The user login and if he kept the System idle for 5 min then how can i kill the session can any one give me an idea on this Than Q Keerthi

        S Offline
        S Offline
        Shujaat Ullah Khan
        wrote on last edited by
        #3

        Set session time out as 5 minutes. Set the session timeout tag in config and it will be applicable for whole application

        Shujaat

        1 Reply Last reply
        0
        • K kirthikirthi

          HI all i have an login page for user. If The user login and if he kept the System idle for 5 min then how can i kill the session can any one give me an idea on this Than Q Keerthi

          N Offline
          N Offline
          Naik A2Ze
          wrote on last edited by
          #4

          Session.Abondon(); this is used for kiling Session.

          Naik M

          K 1 Reply Last reply
          0
          • P Parwej Ahamad

            Hi, The Timeout property specifies the time-out period assigned to the Session object for the application, in minutes. If the user does not refresh or request a page within the time-out period, the session ends. Session.Timeout [=nMinutes]

            Parwej Ahamad g.parwez@gmail.com

            N Offline
            N Offline
            Naik A2Ze
            wrote on last edited by
            #5

            Hi, First check the timeout property of session, if it exceeds 5mins then call Session.Abondon();

            Naik M

            1 Reply Last reply
            0
            • N Naik A2Ze

              Session.Abondon(); this is used for kiling Session.

              Naik M

              K Offline
              K Offline
              kirthikirthi
              wrote on last edited by
              #6

              HI all Thx for reply My requriment is when user login if he idle for 10 min then page will redirect to login.aspx how can i detect system idle time Thx keerthi

              N 1 Reply Last reply
              0
              • K kirthikirthi

                HI all Thx for reply My requriment is when user login if he idle for 10 min then page will redirect to login.aspx how can i detect system idle time Thx keerthi

                N Offline
                N Offline
                Naik A2Ze
                wrote on last edited by
                #7

                BOOL GetLastInputInfo( PLASTINPUTINFO plii ); just go through it. http://msdn2.microsoft.com/en-us/library/ms646302.aspx

                Naik M

                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