Questions tagged [idle-timer]

115 questions
2
votes
0 answers

User idle time C windows and linux

How could I get user idle time on Windows in seconds? I wrote small program to check work time on pure C, but all answers that I could find were written in C#. Is there a way to get it like on MacOSX or X11? For OSX I used this solution -…
2
votes
1 answer

Android - Get idle time on Application level

What do I want to achieve: After 3 minutes of user inactivity I want to display a new activity. Research: I did look on Stackoverflow for this problem and I found some hints on how to do this using a background thread, create a base activity that…
Bugdr0id
  • 2,962
  • 6
  • 35
  • 59
2
votes
2 answers

Closing Excel after inactivity, even in edit mode

I'm not sure this is possible I didn't really find anything when I was searching for an answer online. I have a macro in place where it will close after 5 minutes of inactivity. Works like a charm except when the user is editing a cell the timer…
user3281827
  • 53
  • 2
  • 12
2
votes
2 answers

MutationObserver detect DOM 'idle' (end of or no mutations)--AKA when to make AJAX call?

We are currently successfully detecting mutations of target DOM elements within our page. We are now looking at aggregating certain properties of these target node mutations in a 'list' to send via an AJAX call for processing on the server. The…
MoMo
  • 1,836
  • 1
  • 21
  • 38
2
votes
1 answer

Timeout via PrimeFaces p:idleMonitor

I am trying to handle the session timeout via idlemonitor, a primefaces component. I am doing this because i need to let the user know that due to inactivity the session has expired. I need to display this message through a dialog, after he closes…
leostiw
  • 1,125
  • 3
  • 12
  • 28
2
votes
1 answer

iphone idle timer check for after a particular event

Here am developing a application which i should start this idle timer event after the user is get signed in and i should stop this event after the user is signout the application. Here i have implemented a logic like subclassing the UIApplication…
nik
  • 2,289
  • 6
  • 37
  • 60
1
vote
1 answer

How to get the true idle time of the system?

I need to get the system idle time when an event is triggered in my application. I used the GetLastInputInfo() function to get it, but it seems that after 5 minutes and a few seconds of inactivity, my idle counter is restarted back to zero, without…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
0 answers

The value for the promptBeforeIdle property must be less than the timeout property

I'm using the react-idle-timer library to prompt users on idle. This is how I have integrated it. const eventsTimer = useIdleTimer({ element: document, startOnMount: false, startManually: true, name: "events-timer", onAction:…
Tikam Chand
  • 94
  • 1
  • 10
1
vote
1 answer

Script to turn off PC if user is inactive for a certain time period in PowerShell

Auto Shutdown if user is inactive. I am trying to create a one time powershell script to shut down the pc if the user is inactive for a period of time. I have done some looking around but the only answer to my problem was using VB. The task…
1
vote
1 answer

How to work with multiple tabs using react-idle-timer

I am having a react Application, where I need to display a modal with two buttons (Logout and Continue Session) when the user goes idle, It was actually working fine with the IdleTimer component from the react-idle-timer. But If I open the…
Dante1021
  • 304
  • 7
  • 20
1
vote
1 answer

Navigating to other component after user remains idle for 10 seconds

I want to navigate to /oauth2/token when the user remains idle for 10 seconds,but in my code after 10 seconds its not navigating to /oauth2/token below is my code: export default function Timeout(){ const idleTimerRef = useRef(null); const…
Meghana
  • 11
  • 1
1
vote
1 answer

How to determine how much time a Windows user is idle?

I have an application running on a Windows 10 machine. I would like to be able to determine if the currently logged in user is idle/away from the PC without having locked the screen. The idea is that since my application is showing sensitive data I…
Juergen
  • 41
  • 5
1
vote
1 answer

How to detect idle time in react web application?

I am developing a react web app that contains the functionality of idle time detection(small scale project). The app should detect the whole system's(OS) idle time. If the user closes the browser I mean not the case user idle for the app, but for…
JESHAN
  • 19
  • 2
1
vote
2 answers

How can I timeout a user who is idle on a web page, using OAuth 2.0, and require re-entry of credentials?

Good day all, I have a web site hosted in Azure. It's running on .net core 3.1 using Blazor as a front end. I am using OAuth 2.0 and OpenID Connect with the Microsoft Identity Client 4.14 to authenticate users to the site. I also make API calls…
1
vote
0 answers

Launch application once user inactivity detected C#

I made a C# windows application which opens a user input win form called mywinform.exe . I want to execute this mywinform.exe once their is no user activity for a time period t (no moving/input mouse or keyboard input). I've tried using the windows…
Tak
  • 3,536
  • 11
  • 51
  • 93