Keep hosting website session alive using webchat?

Hello,
We are implementing a Chat Widget for Purecloud v2.0 in a secure site with a short expiration session, around 5 minutes, the site detects if the user has not performed any action in the last 5 minutes and automatically closes the session. We are worried because while the user is waiting on queue on the Chat, or even typing in to the Widget frame, the page does not detect any input from the user (because the widget is technically not part of the page)
Is there any way to send to trigger a message from the Widget to the hosting page, a kind of "keep alive" signal to the website in order to keep the site session opened? is this possible using the webchat widget?
if it is, is there any documentation available on how to perform this action?

We are aware of the "heartbeat" functionality in the API but is there any way to use this with the Widget?
PS: Just to make it perfectly clear, I don't need to keep the Chat Session Alive, I need to keep the webpage session alive as long as the chat is connected.

Your site can keep track of the state of the chat by using the API Events from the widget plugin. Information about the lifecycle you should expect is documented under Metadata. If your site is hooked into these events and keeps track of if the chat is in an active or inactive state, it can determine whether or not it should enforce its 5 minute session timer.

Thank you very very much! i'll pass this information to the interested parties.

thanks a lot.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.