WordPress Download Manager
WordPress Download Manager
  • Pricing
  • Demo
  • Extend
    • Full Access Pack Get access to all items on this site with a BIG DISCOUNT
    • WordPress Form Builder Plugin Try it even if you are using another one and you may thank me later :)
    • Attire All-in-One WordPress Theme, only theme you will ever need

    Add-ons

    • Add-ons
    • Cloud Storage
    • eCommerce Add-ons
    • Email
    • Featured
    • Free
    • Marketing
    • Payment Gateways
    • Social Networking
    • Tools
    • UI
    • Widgets

    Customization Service

  • Discount Packs
  • Docs
  • Support
    • Search in Forum
    • Download Manager Pro
    • Download Manager Free
    • Pro Feature Request
    • How To...
    • Tips and Tricks
    • Contact Us
  • Blog
Login | Register
Forgot Password?
— Don't have an account yet? Register Now —
Home / Topics / Download Manager Free / Disable cookie __wpdm_client

Disable cookie __wpdm_client

  • This topic has 12 replies, 4 voices, and was last updated 2 years, 8 months ago by Humayon.
Viewing 13 posts - 1 through 13 (of 13 total)
Oct 8, 2022 at 9:53 pm #179029

jonnylander
Member

Hey,

I searched the forum for an option to disable the cookie, which is set by WPDM.

I added define(‘WPDM_ACCEPT_COOKIE’, false); to the wp-config.php. After that I’ve deleted all cookies und reloaded the page. But the cookie __wpdm_client is still set.

Can you help me?

Cheers
J.

Oct 9, 2022 at 3:19 am #179031

Humayon
Spectator

Hello,

Thank you for your query.

The code you have applied should work.

However, it seems old cookies are still existing.

In this case, can you please completely remove all/previous cookies and check further?

I hope it will work.

Regards

Oct 11, 2022 at 12:50 pm #179148

jonnylander
Member

Thank you for the quick response.

Here is a screenshot of my current wp-config.php:
screen1

After I’ve uploaded, I deleted all cookies on my computer:
screen2

When I reloaded my page, the cookie is set again… unfortunately.
screen3

What else can I do?
It seems that the solution doesn’t work and I don’t know why…

  • This reply was modified 2 years, 8 months ago by jonnylander.
Oct 11, 2022 at 3:00 pm #179186

Humayon
Spectator

Hello,

Thank you for your reply.

It appears that it’s the old cookie.

The code you have applied will not clear the old one, but, it will not set any new cookies.

I hope you understand.

Regards

Oct 11, 2022 at 5:36 pm #179198

jonnylander
Member

Hi,

first of all: Great support! Thanks for answering so fast!

Looks like we’re getting closer to the solution.
Ok, it’s “the old cookie”. I’m relieved, that the code in den config.php works.

But: How can I disable the old cookie?

I’ve installed the following plugins on my site:
– Download Manger (v 3.2.57)
– WPDM – Extended Short-codes (v 2.8.2)
– WPDM – Gutenberg Blocks (v 2.1.7)

When I disable the “Download Manager” Plugin, the cookie will not be set.
When I disable the WPDM Plugins, the cookie still will be set.

Regards
J.

Oct 12, 2022 at 3:32 pm #179231

Humayon
Spectator

Hello,

Thank you for your reply.

As of now, WDPDM doesn’t do that and it’s not possible to disable it, as cookies are stored in the browser.

However, I will forward your concern to our dev team and we may add a way in the future release.

With Regards

Oct 12, 2022 at 8:14 pm #179239

jonnylander
Member

Thank you!

What do you mean with “WDPDM doesn’t do that”?
Do you mean, that WDPDM does not set the __wpdm_client cookie?

To verify that, I’ve installed WDPDM on a clear WordPress-installation.
I’ve insert the define(‘WPDM_ACCEPT_COOKIE’, false); into the config.php

And again: the cookie is set!
It is no old cookie because it was set, when I reloaded the site after the installation of WDPDM and the change of the config.php

Oct 13, 2022 at 7:43 am #179246

Jürgen Farenholtz
Participant

I have got the same problem.
The cookie is already set when i install the plugin.
Even if it is not activated, the cookie is already there.

And the define(‘WPDM_ACCEPT_COOKIE’, false); did not work

Oct 13, 2022 at 9:06 am #179248

Humayon
Spectator

Hello,

We are currently investing in this and we will let you know once we have any updates.

Regards

Oct 15, 2022 at 6:48 am #179311

jonnylander
Member

Hi,

ok, that sounds good.
Can you give me information about how long this will take approximately? Can I count on that the cookie will be removed?

I’m from Germany and we have very strict rules about cookies on websites here. At the moment I’m checking alternative plugins as “Z Downloads” or “Download monitor” and other if they set cookies. I do have to remove the cookie on my website within the next 3-4 weeks.

Regards and thanks again for the great support (even for the free version).

Oct 19, 2022 at 7:47 am #179456

joKab
Participant

Hi,
setting define('WPDM_ACCEPT_COOKIE', false); worked for me.
But you have to be aware of a few things:

1. please check the position in the wp-config.php
The code needs to go above this comments:

/* Das war’s, Schluss mit dem Bearbeiten! Viel Spaß beim Bloggen. */
/* That's all, stop editing! Happy blogging. */

2. in Jürgen Farenholtz code, the apostroph is wrong.
instead of:
define(‘WPDM_ACCEPT_COOKIE’, false);
it should be:
define('WPDM_ACCEPT_COOKIE', false);

hope that helps,
best regards

Oct 19, 2022 at 9:05 pm #179485

jonnylander
Member

@joKab: That is the solution!

I also added an code with a wrong apostroph.
The code define('WPDM_ACCEPT_COOKIE', false); works now!

Great work!

Oct 20, 2022 at 4:14 am #179489

Humayon
Spectator

Hi @jonnylander

Please note that all PHP codes use single quote '' or double quote ""rather than ‘’.

I hope you understand.

Regards

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘Disable cookie __wpdm_client’ is closed to new replies.

footer-logo

WordPress Download Manager

All in One Digital Asset Management & Complete eCommerce Solution for Selling Digital Products

Quick Access

  • Try Demo
  • Pricing
  • Affiliate
  • Contact

Blog

  • Updates
  • How-to
  • New Release
  • Tips

Support

  • Support Forum
  • Priority Support
  • Feature Request
  • Terms and Conditions