You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was really surprised at this, but since I built and launched store.gcx.com, I've had 2 weird issues:
Logging into the Control Panel takes 2 clicks of the submit button
Front end logout link not working
These are both reported and dealt with everyday by both me and my client. I've had them on my list to fix.
I sat down today to figure out which plugin (likely) was causing these issues. Because I am weird, I tend to do things from the bottom up. I started by disabling Webperf. Lo and behold #2 is now fixed. I logged in and out on the front end a bunch of times. Reactivated Webperf, and the logout stopped working. Disabled again, and logout worked. I pushed my project config changes to production, disabling Webperf there, and logout is working.
The text was updated successfully, but these errors were encountered:
So in experimenting, I found that if I click on your "log out" link and then quickly click on the Account link, I'm always logged out.
So what I think is happening is you click the logout link which redirects to the home page, which includes the JavaScript in the head for Webperf that sends along the beacon data.
My guess is that the beacon data sends along with it the Craft login cookies so that it acts like a "tickle" to keep you logged in. Thus if you do the logout quick enough, beacon never fires, and you're logged out as expected.
I was really surprised at this, but since I built and launched store.gcx.com, I've had 2 weird issues:
These are both reported and dealt with everyday by both me and my client. I've had them on my list to fix.
I sat down today to figure out which plugin (likely) was causing these issues. Because I am weird, I tend to do things from the bottom up. I started by disabling Webperf. Lo and behold #2 is now fixed. I logged in and out on the front end a bunch of times. Reactivated Webperf, and the logout stopped working. Disabled again, and logout worked. I pushed my project config changes to production, disabling Webperf there, and logout is working.
The text was updated successfully, but these errors were encountered: