cphalcon icon indicating copy to clipboard operation
cphalcon copied to clipboard

[NFR] Specify the cookie domain in Phalcon\Http\Response\Cookies::set

Open beermeat opened this issue 13 years ago • 10 comments

Currently it is not possible

beermeat avatar May 07 '13 13:05 beermeat

Please test or sample for Cookies::set

xboston avatar May 07 '13 13:05 xboston

http://docs.phalconphp.com/en/latest/api/Phalcon_Http_Response_Cookies.html

public Phalcon\Http\Response\Cookies set (string $name, [mixed $value], [int $expire], [string $path], [boolean $secure], [boolean $httpOnly])

$domain is missing :)

beermeat avatar May 07 '13 14:05 beermeat

+1

DragosMocrii avatar May 09 '13 08:05 DragosMocrii

+1

xblabs avatar May 10 '13 00:05 xblabs

:+1:

roman-kulish avatar May 10 '13 01:05 roman-kulish

+1

x51xxx avatar May 10 '13 09:05 x51xxx

:+1:

iforp avatar May 13 '13 08:05 iforp

+1

jeffreycahyono avatar May 14 '13 15:05 jeffreycahyono

Phalcon\Http\Response\Cookies is fine, but 'domain' param is still needed +1

milchinskiy avatar May 14 '13 18:05 milchinskiy

This was implemented in the 1.2.0 branch by @golovanov

ghost avatar May 22 '13 16:05 ghost