This article looks at how to show a warning message to the user if the user is in an idle state for more than 5 minutes.