Timeline for Access Session Variable within custom module
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 6, 2014 at 18:09 | answer | added | laketuna | timeline score: 1 | |
Oct 6, 2014 at 12:49 | comment | added | Amit Bera♦ | public function getSellYourArtCheck($value=null) {if(!is_null($value))$this->setData('sell_your_art_check', $value); } return $this->getData('sell_your_art_check'); } | |
Oct 6, 2014 at 12:48 | comment | added | Amit Bera♦ | rewrite customer session class Mage_Customer_Model_Session add add new function | |
Oct 6, 2014 at 12:29 | comment | added | Amit Bera♦ | As Customer is register new session creating thus it may be created issue | |
Oct 6, 2014 at 12:27 | comment | added | odd_duck | Ah ok, any ideas on a solution? | |
Oct 6, 2014 at 12:22 | comment | added | Amit Bera♦ | i guess it may be creating issue when new customer is register... | |
Oct 6, 2014 at 12:21 | comment | added | Amit Bera♦ | try to another session varibale | |
Oct 6, 2014 at 12:19 | comment | added | odd_duck | Tried that too without success | |
Oct 6, 2014 at 12:18 | comment | added | Amit Bera♦ | hi try use customer/session...it may be help you | |
Oct 6, 2014 at 12:16 | comment | added | odd_duck | The session variable is definitely set probably beforehand as before i get the module i can access it. My module is called on the customer_save_before event | |
Oct 6, 2014 at 11:59 | comment | added | Amit Bera♦ | i guess that you session variable is set properly...Note that :Session variable value is not set until page refersh | |
Oct 6, 2014 at 11:56 | comment | added | odd_duck | no, its fine everywhere else (php/phtml pages etc) just not in this module | |
Oct 6, 2014 at 11:54 | comment | added | Amit Bera♦ | session is not working on custom moduls? | |
Oct 6, 2014 at 11:49 | history | asked | odd_duck | CC BY-SA 3.0 |