Magento Expert Forum - Improve your Magento experience
-
Mage:: Init require more time to load
We are developing an website , by consuming the all the data using REST API in magento website. In that for session initialization , we are using the below code ,
$websiteId = Mage::app()->getWebsite()->getId();
Mage::init($websiteId, 'website');
Mage::getSingleton('core/session', array('name' => 'frontend'));
$session = Mage::getSingleton('customer/session', array("name"=>"frontend"));
$session->start();
If Mage::init is not initialized, we cannot able to set/get the session details. In every web services, while executing Mage::init taking 25-30 secs for each services.
could you please let me know , what is the another way to initialize in global and avoid initializing in individual service.
awaiting for your valuable reply
View more threads in the same category:
- buy registered drivers license online(legitcleandocs.com)passport,IELTS certific
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- buy real passports online(https://legitcleandocs.com)drivers license, visa, id card
- BUY UNDETECTABLE GRADE A+ COUNTERFEIT BANKNOTE(legitcleandocs.com)
- BUY REGISTERED DRIVERS LICENSE ONLINE https://worldpassporte.com/
- buy real registered drivers license online(legitcleandocs.com)visa, id card, resident
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks