Hi, any chance someone has spent time there while the page loads that has a form and at any moment it disappear this captcha?
Hi, any chance someone has spent time there while the page loads that has a form and at any moment it disappear this captcha?
Hi,
you can try the code…
<?php
$session = Yii::app()->session;
$prefixLen = strlen(CCaptchaAction::SESSION_VAR_PREFIX);
foreach ($session->keys as $key) {
if (strncmp(CCaptchaAction::SESSION_VAR_PREFIX, $key, $prefixLen) == 0)
$session->remove($key);
}
?>
Hope it will be helpful…