APIs & Integrations

CMarble
Participant

Inconsistent cookie behavior between browsers

I have notcied that Chrome does not set the messagesUtk cookie so it does not save the conversation when navigating between pages.

 

I also noticed that Firefox does save the messagesUtk cookie, but does not automatically load the previous messages. I have to force reload the page and then the cookies work fine after that.

 

Safari has no problems.

 

I am using React and I am using the widget.refresh() function between route changes.

 

Why would this be happening?

0 Upvotes
3 Replies 3
Ridao
Participant

Inconsistent cookie behavior between browsers

i have the same issue. messagesutk works on safari but not on chrome

0 Upvotes
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

Inconsistent cookie behavior between browsers

Hey @CMarble 

 

cookies are enabled  and disable via use preference on the browser level and/or cookie banner. If you must use cookies typically I use a function to check if they're available or not. Then handle appropriately. Usually with a message letting the user know cookies are required. 

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
CMarble
Participant

Inconsistent cookie behavior between browsers

Thanks for the reply! 

 

In each of the browsers I made sure that the settings allow cookies from all sources. I also tried enabling the cookie banner and it still does not work. 

 

I could check if the cookie exists, but how would I handle it? I've tried refreshing the widget and removing and loading the widget and it still doesn't work.

 

Any suggestions?

0 Upvotes