[pmwiki-users] captcha and time out ?

Petko Yotov 5ko at 5ko.fr
Fri Dec 27 08:48:01 CST 2013


marc-alexis morelle writes:
> I have a problem with Fox Forum using captcha.
> Maybe i'm wrong, but it seems that because long writing in the forum, the  
> captcha code for the comment become obsolete: "wrong captcha code" is  
> displayed (at a bad place...)
>
> Is the time give to the writer the 24 minutes of the PHP session or  
> something shorter ?

This is a PHP setting, not managed in PmWiki, and default is 1440 seconds  
(24 minutes). Any PHP scripts running on your hosting will clean the cookie  
data directories for files that have not been accessed for 1440 seconds. See  
these pages about the variable session.gc_maxlifetime :

  http://www.php.net/manual/en/session.configuration.php (English)
  http://www.php.net/manual/fr/session.configuration.php (French)

Anyways, if your session expires, the captcha is not validated and you  
should see the edit form again, with your text, and just have to enter the  
new captcha value and post the text. (I haven't used Fox Forum but the  
normal edit form does this.)

Petko




More information about the pmwiki-users mailing list