What is the expected behavior for chat sessions to time out?
The visitor is in control of the chat session, and can end the chat session in one of three ways:
- Going to the options menu and hitting end chat will immediately end the session.
- In the event the visitor closes the browser (no windows with the chat widget are open) the session will timeout within a timeframe of 20 seconds to 2 minutes.
- In the event that the visitor idles* on a site with the widget their session will stay open for 20 minutes before the session is automatically ended.
*idle status is defined as no mouse or keyboard input
The chat session is still considered active unless it's ended by one of these reasons. An agent can leave a chat session, but it would stay open from the visitor side until one of the above conditions is met.
If the end user chats in again after an agent leaves, it will pop back into the queue. In these cases, the history of their previous chat will be present because it’s still considered the same chat session. Any subsequent messages will be added to the chat session, and once ended is added to the history as a single entry.