Moderator
Posts: 2362 from 2003/2/24
For the next version of PastePass I want to add a timeout for the masterpassword and at the moment I'm not sure how to implement one detail.
For this I use an InputHandler with MUIIHNF_TIMER which would after a usersetable time put up the page with Masterpassword-string.
Say the user has set the timeout to 100sec, but after 50secs he becomes "active". Now I would want to restart the counter (at 100sec) and sofar I see 2 options:
- remove and re-add to InputHandler to have it start again
- set the handler to 1 sec and have a method count to 100, activity will reset this to 0
Both seem a bit odd for me, so I'm asking the expert which one is considered the cleaner one.