ZF-3364: Zend_Session setOptions() doesn't support cookie_httponly

Issue Type: Bug Created: 2008-06-02T01:00:51.000+0000 Last Updated: 2008-11-13T14:09:59.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: John Carter (jcarter) Assignee: Thomas Weidner (thomas) Tags: - Zend_Session

Related issues: - ZF-4305



It throws a "Unknown option" exception

Option was added to php 5.2.0 (I think)


Posted by Lars Kneschke (lkneschke) on 2008-09-08T02:40:59.000+0000

That's the patch needed to fix this problem. Maybe this helps to get this problem fixed. This cookie parameter is really important.

Index: /home/lkneschke/workspace/Zend Framework Trunk/Session.php

--- /home/lkneschke/workspace/Zend Framework Trunk/Session.php (revision 11279) +++ /home/lkneschke/workspace/Zend Framework Trunk/Session.php (working copy) @@ -96,6 +96,7 @@ 'cookie_path' => null, 'cookie_domain' => null, 'cookie_secure' => null, + 'cookie_httponly' => null, 'use_cookies' => null, 'use_only_cookies' => 'on', 'referer_check' => null,

Posted by Thomas Weidner (thomas) on 2008-11-07T12:19:29.000+0000

Missing default option added with r12385

Posted by Wil Sinclair (wil) on 2008-11-13T14:09:59.000+0000

Changing issues in preparation for the 1.7.0 release.

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.