Welcome Guest, Not a member yet? Register   Sign In
Kcaptcha session vars not being set
#5

[eluser]bmgz[/eluser]
I performed the following in the save() function in the controller...

Code:
if($this->session->userdata('captcha_keystring') != $this->input->post('captcha')){
            echo $this->input->post('captcha').'<br />';
            echo $this->session->userdata('captcha_keystring').'<br />';
            echo 'fail!';
            exit;
        }else{
            echo $this->input->post('captcha').'<br />';
            echo $this->session->userdata('captcha_keystring').'<br />';
            echo 'pass!';
            exit;
        }

it seems the problem rests solely on $this->session->userdata('captcha_keystring') not being set.


Messages In This Thread
Kcaptcha session vars not being set - by El Forum - 07-26-2009, 05:15 AM
Kcaptcha session vars not being set - by El Forum - 07-26-2009, 05:37 AM
Kcaptcha session vars not being set - by El Forum - 07-26-2009, 06:40 AM
Kcaptcha session vars not being set - by El Forum - 07-26-2009, 07:23 AM
Kcaptcha session vars not being set - by El Forum - 07-26-2009, 08:20 AM
Kcaptcha session vars not being set - by El Forum - 07-26-2009, 08:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB