Remember User - Unexpected Issue

I can't say for sure if this issue existed prior to the new functionality where the chatbot remembers the user's place in the session. I saw another post about theme changes not being reflected and I wonder if this is along the same lines. Essentially, I'm changing some API connections in one of my typebots to pass different information via the header (authentication, basically). These changes are not being reflected for anyone who currently has an active session. But the problem is that I can't reset the session on the user side because it's embedded. In this case, it's embedded in Microsoft Teams and even if I completely exit out of Teams it will always come back to the same session and the same place in the session. Is this expected behaviour? Also, is there a way for me to provide the option to restart the session (not reset) to the end user? We authenticate the end user so I'd prefer not to force them to re-authenticate, but I also need the typebot to pickup the changes to the HTTP request.
6 Replies
cleveradmin
cleveradmin3mo ago
So this get's even worse lol. If I disable Remember User and use the embedded flow, it is grabbing the updated info and works fine. If, however, I re-enable Remember User and reload the embedded flow, it reverts back to the last session from before I disabled Remember User, complete with the outdated flow.
Baptiste
Baptiste3mo ago
Thank you for the thorough report! Indeed, the issue is that it reuses the sessionId stored So the ideal fix for you would be: When you publish new changes, have a prompt that says "Update typebot in existing sessions?" or something like that, right? Or maybe add that as an item to the Publish button dropdown
Baptiste
Baptiste3mo ago
Or maybe add a switch in the Remember user setting that says Automatically update typebot when a new version is pulbished That's indeed a bug
cleveradmin
cleveradmin3mo ago
I think the publish option would be better. This way there is more granular control over its use.