Hi there,
I'm working on implementing a custom chat UI using mTag and the Javascript API. Everything works fine as far as tracking visitors and initiating a single chat. However, on the next (2+ chats), I'm running into the split session issue. I've read up on the cause of the issue (Split Sessions issue | LivePerson Connect) and it sounds like this is an intentional design decision made to handle concurrent chat sessions. But it still affects consecutive chats. I designed my site to check for and prevent concurrent chats from happening with a single visitor/session so that's not a issue. My question is, what is the proper way to implement a multiple (one after another) chat scenario? I don't want to lose the custom variables, page history, and browser info (netscape issue) after each chat.
Should I be resetting the mTag variables after each chat? If so, how would I do that? They seem to get stuck in the "reset" (gray) state after split session occurs.
Or should I be doing something more explicit to mark the "end" of the previous chat? Right now I'm calling endChat() and disposeVisitor() when the user ends the chat.
Thanks, Kyle