Wow, great question!
The User Session Timeout is 15 minutes. After a user interacts with the system (by clicking a link etc.) they will be considered 'online'. They will be considered to be offline if they do not interact with the system again within 15 minutes.