ZF-5854: Doesn't work with domains without two dots, such as dev.local

Issue Type: Bug Created: 2009-02-22T06:10:38.000+0000 Last Updated: 2012-11-20T20:53:08.000+0000 Status: Closed Fix version(s): Reporter: removed user (sandstrom) Assignee: None Tags: - Zend_Http_Cookie

Related issues: Attachments:


Zend_Http_Cookie doesn't work with local domains without two dots, such as dev.local. With the native php cookie method one can use false instead of the domain, e.g. setcookie('key', 'val', time() + 7200, '/', false); to make it work.

This doesn't work with the Zend component. See this thread for a more elaborate discussion on the problem.…


Posted by Shahar Evron (shahar) on 2009-07-25T04:31:25.000+0000

I am not entirely sure what you are trying to do - are you trying to replace setcookie() with Zend_Http_Cookie? If so that's not what it's for. Can you provide some reproduction code so I understand what you're trying to achieve?

Posted by Rob Allen (rob) on 2012-11-20T20:53:08.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.