0
我已經創建了下面的Magento的管理方自定義會話是我的代碼Magento的創建自定義會話不工作
require_once 'app/Mage.php';
Mage::app("default");
$userId_new = 'final_value';
Mage::getSingleton('adminhtml/session')->setSessionVariable($userId_new);
我不能訪問管理方面的其他頁面上創建的會話變量下面是代碼,以獲得創建會話變量
echo $final_value = Mage::getSingleton('adminhtml/session')->setSessionVariable($userId_new);
我試過這兩種方法都不適用於我的任何其他解決方案 – Sri
如果發現問題,您必須提供更多關於您想要獲得更好圖片的信息 – Goku