Total Posts: 4
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';
include_once MAGENTO_ROOT_PATH . 'app/Mage.php';
$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