Does anyone implemented a custom visualforce chat and was able to make it persistent? chat not disconnecting on page navigate/refresh?
(I am considering you know liveagent deployment and embedded service deployment) You can create 2 different VF pages example test1 and test2. Create an embedded service and copy the system generated code snippet.
Paste the same code on both of these pages. Provide the link of page 1 to page 2 and page 2 to page 1.
<apex:outputLink value="/apex/test1">Next Page</apex:outputLink> <apex:outputLink value="/apex/test2">Previous Page</apex:outputLink>
Save and launch the Vf pages. Start the chat in test1. Navigate to test2 from the link. You can see you can continue with the previous conversation. The chat is persistent.