Hi all
My question concernes Zend_Captcha (Zend_Captcha_Figlet to be exact).
Rendering the captcha is no problem - I get a fine ASCII image on my form.
This is my code:
// in a form class
(...)
$captchaAdapter = new Zend_Captcha_Figlet();
$captchaAdapter->setWordlen(6);
$captcha = new Zend_Form_Element_Captcha('captcha', array('captcha' =>
$captchaAdapter));
(...)
$this->addElement($captcha);
The problem arises when the user refreshes the whole page (without
submitting anything). I noticed that Zend_Captcha_Figlet leaves some data
(whole namespace concerning previous captacha) in the session file after
every refresh. It just piles up so after even 10-20 refreshes the session
file gets littered. Is this a bug or am I missing something? I figure this
is not important so it should be deleted.
I would appreciate if someone could shed some light on the subject.
regards
Tom
--
View this message in context:
http://www.nabble.com/Zend_Captcha_Figlet-leaves-junk-in-the-session-file-tp24699133p24699133.html
Sent from the Zend Framework mailing list archive at Nabble.com.