https://discord.gg/botpress logo
Webchat Storage Location
# 🤝help
r
Hi there! I am curious about the difference between the two options for webchat storage locations, local and session. What is there difference between these two locations and what are the strengths and weaknesses of either option? I am using local storage and when I test the webchat using different accounts/browsers on the same computer the conversation from earlier will already be loaded, which I would prefer to not have happen. Is there a risk with switching to session storage? Thank you in advance for any help!
c
I think the quick tip is pretty self-explanatory. session storage is like a "Private-Tab" on a browser. once you close it, all your chatbot history and data are gone. there are no risks in particular, other than losing the conversation. ideally, you want "Local storage" to use when the chat history should stay, for example if the user is going to another page and the chatbot reopens. https://cdn.discordapp.com/attachments/1396878092374511646/1397162035879608392/image.png?ex=6880b80b&is=687f668b&hm=c9b53f8249f581da18fe89999031dd97f2513659c8d380513ce64e5daa2db7e8&
r
Got it, thanks!
3 Views