Using EE 2.2.1 Build 20110705
$this->EE->input->cookie(); appears to not work?
I’m using this plug-in: http://old.devot-ee.com/add-ons/cookie-plus/
It’s pretty basic… The :get parameter performs a simple grab and check of a given cookie, using $this->EE->input->cookie(); – However, this seems to be failing because $this->EE->input->cookie(); is always returning null, even when remove all other code and explicitly name a cookie I know is set:
e.g.
$name == "exp_last_visit";
$this->EE->input->cookie($name);Could something be breaking EE->input->cookie()?
[Mod Edit: Moved to the Development and Programming forum]
I’ve noticed I’m also having problems with cookies in the CP.
For instance, if I change CP session to “Cookie Only”, I can’t switch MSM sites. Likewise, when a session times out, I can’t log back in until I clear cookies.
If I had to guess, I’d say that there is something causing a general issue with EE->input->cookie. I just tried created the most basic template I could, with PHP enabled, and EE->input->cookie did not work.
I tried disabling Extensions as well, with no effect. I also loaded each plug-in to see if there were any errors…
Is there any way I can debug this? Or PM CP access?
Thanks
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.