views:

52

answers:

1

I'm having a bit of a collision with the naming of the Zend_Session_Namespace parameter.

What is the convention for the namespace other than "default"? Lets say i want to use it in the frontcontroller, should i name it Zend_Session_Namespace('Zend_Controller'); because the Zend_Auth convention is Zend_Session_Namespace('Zend_Auth');

+2  A: 

You should namespace it in a way you can remember it and where it makes sense. If you are storing e.g. user options for a guest, maybe his name and email address for comments, you should probably name the namespace something like "guest-data". There is no real convention for that.

DASPRiD