When logout from Horde webmail, it may shows the following error Error : This request cannot be completed because the link you followed or the form you submitted was only valid for minutes. Please try again now.
This issue can be resolved by modifying the following File.
C:\inetpub\vhosts\webmail\horde\lib\horde.php (Drive Letter will depend on where you installed Webmail/Plesk and configured IIS to load virtual hosts from)
Search for ' SESSION['horde_form_secrets' in the horde.php
if ($_SESSION['horde_form_secrets'][$token] + $GLOBALS['conf']['urls']['token_lifetime'] * 60 < time()) {
return PEAR::raiseError(sprintf(_("This request cannot be completed because the link you followed or the form you submitted was only valid for %s minutes"), $GLOBALS['conf']['urls']['token_lifetime']));
}
Replace it with:
if (($_SESSION['horde_form_secrets'][$token] + $GLOBALS['conf']['urls']['token_lifetime']) * 60 < time()) {
return PEAR::raiseError(sprintf(_("This request cannot be completed because the link you followed or the form you submitted was only valid for %s minutes"), $GLOBALS['conf']['urls']['token_lifetime']));
}
This will resolve the above issue
.