[FIXED] FlashData not reading back |
[eluser]mtbkrdave[/eluser]
Hello- I'm trying to run TankAuth with CodeIgniter 2.0.3. TankAuth uses Flashdata to store a captcha value between the page request when the captcha challenge is generated, and the subsequent request where the user's response is evaluated. TankAuth sets the flashdata using: Code: // Save captcha params in session Then reads them back in the next request using: Code: $time = $this->session->flashdata('captcha_time'); This seems fine. When I examine the browser cookie (with $config['sess_use_database'] set to FALSE) or look at the ci_sessions database contents (with $config['sess_use_database'] set to TRUE) the Flashdata appears to be saved correctly: Code: a:3:{s:22:"flash:old:captcha_word";s:8:"83FAP8NM";s:22:"flash:old:captcha_time";d:1315269306.21364307403564453125;} But the calls to flashdata() above return empty results. How would I go about troubleshooting this further? Are there any config parameters that can adversely affect flashdata? Many Thanks, Dave |
Welcome Guest, Not a member yet? Register Sign In |