Session Timeout example 

This checking gives a snippet how client side timeout can be implemented, which calls the server side timeout.