Roundcube Community Forum

 

how to check user activity

Started by corbosman, September 20, 2011, 05:16:13 AM

Previous topic - Next topic

corbosman

Im implementing a onetimepassword/single signon plugin for my company, and so far everything is working great. The OTP keys have a certain expiry time, but id like to increase the time from roundcube if the user is actually active. Anyone ever looked into how to see if a user is active in RC?  I was thinking to maybe use message_load hook.  Any other options?

Regards,

Cor

rosali

Perhaps you want to look into my idle_timeout plugin ...
Regards,
Rosali

corbosman

Wow, thats very thorough :)  I dont need to restore the session, but it's a good read to see what you're doing.

rjwill

no but I did write a little plugin to log "username logged in" and "username logged out".