ZF-1982: Zend_Session_Namespace should have a getter for the $_namespace property

Issue Type: New Feature Created: 2007-09-21T19:10:07.000+0000 Last Updated: 2009-11-25T00:28:54.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Johannes H. Jensen (joh) Assignee: Marco Kaiser (bate) Tags: - Zend_Session

Related issues: Attachments:


Currently there is no way to obtain the namespace string (protected $_namespace property) of a Zend_Session_Namespace instance. There should be a getNamespace() or similar method for obtaining this property after instantiation.


Posted by Wil Sinclair (wil) on 2008-03-21T17:05:31.000+0000

This issue should have been fixed for the 1.5 release.

Posted by Wil Sinclair (wil) on 2008-04-18T13:11:51.000+0000

This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Posted by Ralph Schindler (ralph) on 2008-04-22T11:28:41.000+0000

Updating project management info

Posted by Ralph Schindler (ralph) on 2009-01-10T09:30:24.000+0000

Will evaluate within 2 weeks.

Posted by Robert Basic (robertbasic) on 2009-11-19T07:58:16.000+0000

Could the opener provide a case where this would be useful? ATM, the only thing I can come up with is:

<pre class="highlight">
if($session->getNamespace() == 'mySession'){
 // do some stuff

but this can be done with:

<pre class="highlight">
 // do some stuff

If there's no other useful case for this, then it's just duplication.

Posted by Marco Kaiser (bate) on 2009-11-20T04:10:11.000+0000

fixed in r19080

Have you found an issue?

See the Overview section for more details.


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

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