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. Verify idle time?

Verify idle time?

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
5 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.
  • Y Offline
    Y Offline
    yibiBrown
    wrote on last edited by
    #1

    Hi, I have a web application programmed in visual web developper. I would like to perform some action when the application has gone idle, or if the user stops using it. Could someone please let me know where to find some sort of example to do this?:confused: Thanx in advanced Yibi

    L A 2 Replies Last reply
    0
    • Y yibiBrown

      Hi, I have a web application programmed in visual web developper. I would like to perform some action when the application has gone idle, or if the user stops using it. Could someone please let me know where to find some sort of example to do this?:confused: Thanx in advanced Yibi

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      yibiBrown wrote:

      I would like to perform some action when the application has gone idle

      Please define what you mean by a "Web Application gone idle". Idle is not a common term used in technical discussions of web applications. By not common I mean I have never heard anyone use it before.

      led mike

      Y 1 Reply Last reply
      0
      • Y yibiBrown

        Hi, I have a web application programmed in visual web developper. I would like to perform some action when the application has gone idle, or if the user stops using it. Could someone please let me know where to find some sort of example to do this?:confused: Thanx in advanced Yibi

        A Offline
        A Offline
        Amit Agarrwal
        wrote on last edited by
        #3

        do u mean session of the web application?

        Amit Agarwal

        1 Reply Last reply
        0
        • L led mike

          yibiBrown wrote:

          I would like to perform some action when the application has gone idle

          Please define what you mean by a "Web Application gone idle". Idle is not a common term used in technical discussions of web applications. By not common I mean I have never heard anyone use it before.

          led mike

          Y Offline
          Y Offline
          yibiBrown
          wrote on last edited by
          #4

          What I mean by the application going idle is that the user has stopped working with it. Either the mouse hasn't moved or the keyboard pressed in a given amount of time. Yibi

          L 1 Reply Last reply
          0
          • Y yibiBrown

            What I mean by the application going idle is that the user has stopped working with it. Either the mouse hasn't moved or the keyboard pressed in a given amount of time. Yibi

            L Offline
            L Offline
            led mike
            wrote on last edited by
            #5

            In case you are interested I had no idea how do this. I found all the information using Google.

            function initializePage()
            {
            document.onkeydown = function()
            { SetupTimer(); }
            document.onmousemove = function()
            { SetupTimer(); }

            SetupTimer();
            

            }

            var activityTimer = null;

            function SetupTimer()
            {
            if(null != activityTimer) clearTimeout(activityTimer);
            activityTimer = setTimeout("alert('Timed out')", 5000);
            }

            led mike

            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