davi8r
asked 3 years ago

Can DWQA Pro be configured to not set a cookie?

4 Answers
DominicStaff
answered 3 years ago

Please let me know detail about this question. 

davi8r
answered 3 years ago

Hi Dominic,
Our hosting provider says cookies set by plugins are blocking server side caching, affecting site speed. They offered this one as an example:
Set-Cookie: dwqa_anonymous=yGdntTDA1qVDXnq5xjDXdMA5MW4X9tpPPc56cNVfeKH;
expires=Sun, 26-Jan-2031 00:27:52 GMT; Max-Age=315360000; path=/;
HttpOnly

Dominic Staff
replied 3 years ago

In this case, you can open the wp-content/plugins/dw-question-answer-pro/inc/Base.php file.

davi8r
answered 3 years ago

Checking my installation, there is not a base.php file in that directory.

Dominic Staff
replied 3 years ago

You can go to the inc/post folder.

davi8r
answered 3 years ago

I found base.php and commented out the first section that sets a cookie. Still, when I activate DWQA, my host’s server side cache stops functioning. I appreciate your trying to help but may have to replace the plugin.

Powered by DW Question & Answer Pro