Managed session timeout for ajax calls.