RESOLVED: wixLocation.to(wixLocation.url); disconnects users

Hello Wix,

I am alerted by my customers who can no longer connect to my site via a personalized connection form. For a technical reason in relation to my needs, I reload the page when the user clicks on the “connect” button. As of this week, it no longer works! My form is displayed in a loop each time I click on the “connect” button.

The cause of the problem:

wixLocation.to(wixLocation.url);

You have just modified something in relation to this code (probably unintentionally) which causes a user to disconnect when this script is executed. As if the cookies were refreshed when this script comes into action to refresh the page.

Please correct this, it’s urgent ! :hugs:

Next time try to communicate when you make a change! This is already the 3rd time this kind of thing has happened to me without any communication from you

Lukas

Hi Lukas,
Please provide the URL for your site and steps to reproduce so the team can investigate. Thanks.

Hello thank you for the speed of your response.

I don’t know if you forwarded the message to your team, but now refreshing the page via the script sent above no longer disconnects users.

Problem solved (forever hopefully: p)

Have a nice day
Lukas