Hot answers tagged

2 votes

Disallowed Key Characters error when moving EE website to another server

This usually happens when there is a clash between the cookies. Give clearing your browser cookies, or at least delete the EE ones a try. A good way to thwart this is to set a unique cookie prefix/...
  • 1,987
1 vote

Block iframes (e.g. YouTube-embeds) - loading only after click?

It's not too bad! In the control panel Settings > Consent requests create a new request called "video_consent" or similar, this name is used in the consent form, example below. Now add ...
  • 1,577
1 vote
Accepted

Cookie Plus reading cookies on first page load

The answer from witrin on this question (three answers down or so) is the reason why you you are having this problem. https://stackoverflow.com/questions/3230133/accessing-cookie-immediately-after-...
  • 5,900
1 vote

Where can I find the cookie_consent_module

You might want to try this link: https://github.com/yashiel/Cookie-Consent In mcp.cookie_consent.php, line 63 will have to be changed from… $this->EE->cp->set_variable('cp_page_title', $...
1 vote
Accepted

Unable to change site multisite EE3

In your backend, under Settings > Security & Privacy choose CP session type to Session ID Only
1 vote

How to set and get cookies in EE 3?

EE3 still uses the legacy Input library internally, so the same methods apply. ee()->input->cookie(); ee()->input->set_cookie(); ee()->input->delete_cookie(); Or, use the Cookie ...
  • 17.4k
1 vote

Cookie-free subdomain

Not that I'm an expert, but what I've implemented in the past has been in .htaccess, not defining privacy settings in EE, until now I've not given it much thought... This answer gives some light - ...
  • 5,353
1 vote

MSM specific config settings

You can use the $assign_to_config array in each site's index.php and admin.php files to set some per-site config items. (See docs.) But you might have better luck using a switch statement in your ...
  • 17.4k
1 vote
Accepted

Setting and Getting Cookies

There's an add-on called Cookie Plus which makes setting and getting cookies via template tags very simple.
  • 7,176
1 vote

Set Session Timeout on Front End of site

You can try Stay Up Forever It call "Forever", but based on code you can setup any session timeout in extension settings (for cpanel or/and user)
  • 5,781
1 vote

XSS vulnerability - malicious cookie value

I just tested this (really quickly) on one of my sites running 2.8.1 and couldn't exploit the exp_csrf cookie in the way described by your report. However I could do it on your site using the exact ...
  • 7,176
1 vote
Accepted

Not able to log into EE 2.9.0 when Cookie Consent is enable

I'm having this problem too. What I do is, um, refreshing the form. You may find this bug report useful
  • 2,846

Only top scored, non community-wiki answers of a minimum length are eligible