Could use the built-in idle event: http://livedocs.adobe.com/flex/2/langref/mx/managers/SystemManager.html#event:idle
-Scott On 3/3/07, Rick Root <[EMAIL PROTECTED]> wrote:
Does anyone have any suggestions for monitoring idleness of a Flex application? The way my app works, pretty much any request to the server will renew a cookie for another 30 minutes.. so I could just have flex make a generic request every 10 minutes or so to avoid idling out, but I don't want to do that. What I'd like to do is perform that request - say every 5 minutes - if there has been any kind of activity in the flex app.. keyboard or mouse activity.. that way the server session stays active, and then if the user has been "idle" for more than 20 minutes (no keyboard or mouse activity) to actually blank the flex app window and pop up a login window, forcing the user to reauthenticate. I'm just not entirely sure of the best way to go about this. Rick -- I'm not certified, but I have been told that I'm certifiable... Visit http://www.opensourcecf.com today!
-- : : ) Scott