8 SessionManager::getGlobalSession()->persist();
11 function store( $index, $info ) {
12 SessionManager::getGlobalSession()->set(
'captcha' . $index, $info );
16 return SessionManager::getGlobalSession()->get(
'captcha' . $index,
false );
20 SessionManager::getGlobalSession()->remove(
'captcha' . $index );
__construct()
Protected constructor: no creating instances except through the factory method above.
clear( $index)
Delete a result once the captcha has been used, so it cannot be reused.
cookiesNeeded()
Whether this type of CaptchaStore needs cookies.
retrieve( $index)
Retrieve the answer for a given captcha.
store( $index, $info)
Store the correct answer for a given captcha.