logout does not clear handler cache
Concerned version
Version: 2.0.9
Platform: Apache
Summary
- Have a portal server and a SEPARATE handler server
- Create a CDA vhost with a logout rule
- Logout from CDA vhost
- Logout does not remove the CDA cookie, and handler cache is not purged on the handler server, CDA session remains valid for a few minutes
Logs
This code in Handler/Main/Run.pm does not work:
# Delete local cache
if ( $class->tsv->{refLocalStorage}
and $class->tsv->{refLocalStorage}->get($id) )
{
$class->tsv->{refLocalStorage}->remove($id);
}
Possible fixes
- Removing CDA cookie is not enough because you can have multiple CDA sessions
- Fixing the removal of local cache kinda-works, but not a perfect solution either. Because you can have multiple handler servers.