I am using Magento 188.8.131.52 version.
I need form values in the controller which is other than form action. So I serialized the form values and set into the Magento Core session like below. When I print the Session Value it is returns empty or the variable name as value.
var samples = JSON.stringify(jQuery('#sell-add-product').serializeArray()); var a = "<?php echo Mage::getSingleton('core/session')->setMyValue("+samples+");?>";
I am getting like below in the controller:
$ data = Mage::getSingleton('core/session')->getMyValue(); print_r($ data);
Out put is
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
99,9% servers uptime
No usage restrictions
Perfect for SEO
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!