-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
5.0The issues we want to solve in the 5.0 releaseThe issues we want to solve in the 5.0 releasebugA bug reportA bug reportstatus: mediumMediumMedium
Description
Describe the bug
I use cookies :) Soo... if i try to get them all with getCookies function- get empty array. If i retrieve cookie by name, all its fine.
To Reproduce
Steps to reproduce the behavior:
$this->cookies->set('test', 'test');
var_dump($this->cookies->get('test'); // Works
var_dump($this->cookies->getCookies()); // return empty array
Expected behavior
Array with all set cookies.
I have create a few more test and in some situation- example code from top is working. Will investigate more.
Anyway- this warning appear: Deprecated: Phalcon\Http\Cookie::setDomain(): Passing null to parameter #1 ($domain) of type string is deprecated in
and i think must be fixed.
Details
- Phalcon version: 5.8.0
- PHP Version: 8.3.7
- Operating System: Windows
- Server: Apache
Metadata
Metadata
Assignees
Labels
5.0The issues we want to solve in the 5.0 releaseThe issues we want to solve in the 5.0 releasebugA bug reportA bug reportstatus: mediumMediumMedium