Hi there,

there are a few lines of code in oxid, which cause a lot of pain for me.

For my current project I need to extend oxsession. The problem: It's
impossible, because of this part of oxconfig from line 394 to 399:


            $this->getSession()->start();

            $sShopID = $this->getShopId();

            // load now
            $this->_loadVarsFromDb( $sShopID );

The session creation happens before the aModules variable is loaded from
database. This is done because of EE functionality, to load mall
specific config params on the basis of the shopId which is stored in
session. But this causes, that oxsession can not be overwritten, because
it's instantiated once via oxNew in a singleton, and than (which is the
purpose of a singleton) never again.

This is twice annoying for me, because it's a blocker and in CE and PE,
these lines are nearly pointless, because it's EE functionality.

This problem affects oxDb too.

Do i have any other chance to extend oxsession or (if not) will there be a chance to extend oxsession in the future?

_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to