Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ajax and image based ping locations for cached hosts. #2

Open
CaptainN opened this issue Dec 19, 2013 · 0 comments
Open

Add ajax and image based ping locations for cached hosts. #2

CaptainN opened this issue Dec 19, 2013 · 0 comments

Comments

@CaptainN
Copy link
Member

If you are hosting on WP Engine or using WP Super Cache, the session cookie will not work from all pages, if the user is not logged in, since the cache would serve a static version of the page and never activate the session handler.

This creates a problem where the cookie can expire, and/or never be set. One way around this problem is to use an ajax handler (which requires JavaScirpt) or a linked image (need to verify that will work - this does not require JavaScript), which avoids the cache, and can set and refresh the session cookie.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant