Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

External Login
Jr. Member
Total Posts:  4
Joined:  2009-03-13

Hi all,

i would like to login into magento from ‘outside’. We are programming a website based on symfony-framework with its own login-procedure.
i want the user, whose data are migrated to magento already, to login into magento too, after loging in into the website.
Magento is accessable via iframe.
i tried to login the customer this way( code inside our symfony-project):

include_once MAGENTO_ROOT_PATH 'lib/Zend/Loader.php';
MAGENTO_ROOT_PATH 'app/Mage.php';
Zend_Loader::registerAutoload ();
$session Mage::getSingleton('customer/session');
$session->login($sf_user->getClearPasswd() , $clearpassword);

if i serialize $session i can see the customers data. When i browse to the iframe-site with magento in it, the customer is not logged in.
can anyone tell me howto do that?

greetings from lübeck, germany


Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top