Home › Forums › WordPress Plugins › Hide My WP › Cookie Problem
- This topic has 5 replies, 3 voices, and was last updated 8 years, 10 months ago by milge.
-
AuthorPosts
-
February 22, 2016 at 1:41 pm #8075milgePost count: 2
Hi There,
I’m gonna migrate my site to Pagely.com. But their support team said i can not use it. You can see what they said:
“I see a cookie is being generated: Set-Cookie: WdhzEx=1; expires=Sun, 21-Feb-2016 22:15:20 GMT; Max-Age=10800
Any plugin or theme that creates a PHP session will break caching with a session present. What that means is that potentially, a single page could have different content for each visitor and it would be dangerous to generate a page once and then serve it from cache to two different visitors. Thus, every single page request would not be cached. However, having your site hit our cache layer is important since that is the first thing you’d want to make sure when optimizing your site for scalability.
This looks to be created by the hide_my_wp plugin so you really should remove it since it will hurt your site when you see higher traffic levels.”
I wait your comments immediately. Cause i can not use plugin right now.
Thanks,
BilgehanFebruary 22, 2016 at 6:25 pm #8078Suman M.Post count: 12478Hi, there are many plugins that generates cookie/session and HMWP is compatible with cache plugins like wp super cache, w3 total cache, etc.
However, I’ve forwarded this ticket to sr. support so that he can better look into it.February 22, 2016 at 8:18 pm #8083HassanPost count: 955Hello,
Simply disable full hide mode (general tab) to avoid that kind of cookie.
It may still create that cookie but it’s not functional and can’t invalidate caches.
February 25, 2016 at 2:42 pm #8162milgePost count: 2I have disabled full hide mode to partial mode. But they warn me it still create cookie.
HTTP/1.1 200 OK
Server: openresty/1.9.7.1
Date: Mon, 22 Feb 2016 23:21:57 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=30
Link: <http://s16237.p413.sites.pressdns.com/wp-json/>; rel=”https://api.w.org/”, <http://wp.me/P6JuQV-6>; rel=shortlink
Set-Cookie: WdhzEx=1; expires=Tue, 23-Feb-2016 02:21:57 GMT; Max-Age=10800
Vary: Accept-Encoding, User-Agent
X-User-Agent: standard
X-Cache-Config: 0 1
X-Cache-Status: BYPASSFebruary 25, 2016 at 8:10 pm #8178HassanPost count: 955Well, full hide mode is totally different with full replace mode! It’s a check option.
As I said it may still create that cookie but it’s not functional. If it’s important to not create that cookie you need to edit our source code.
Open load.php in HMWP directory and change following lines in the top of that:
if (!isset($_GET['style_wrapper'])) setcookie($this->access_cookie(), 1, time() + 60 * 60 * 3);//3 hours
With this:
if (!isset($_GET['style_wrapper']) && $this->opt('full_hide')) setcookie($this->access_cookie(), 1, time() + 60 * 60 * 3);//3 hours
This was added to our upcoming update, too.
February 28, 2016 at 10:11 pm #8226milgePost count: 2Yes, solved! Thank you for great support!
-
AuthorPosts
You must be logged in to reply to this topic.