Auto logout in Photon Application

Hi,

I am developing an Photon GUI application which has login and logout option.

Want to implement AutoLogOff:When there is no user input (from Keyboard/Mouse) for cetain time (let say for 2 minutes).

Please suggest me on how to check from the Photon application whether the user has given the input(from Keyboard/Mouse) or not.

Regards,
Harish.

There is a Photon widget called a Timer. You could set this timer for the timeout amount, and then reset it whenever you get user input. Of course you might also want to detect more subtle activity such as mouse movements. This will require a deeper understanding of how Photon works. You might want to detect such activity transparently. That is, detect it but let it pass.