I login as user Foo to Drupal and I can automatically get access to KT as user Foo, however when I logout and login back as user Bar, the KT session is still belong to that of user Foo. Is there anyway to make invalidate the KT session too without getting the user to specifically click Logout on KT?

Comments

hendrakieran’s picture

Status: Active » Closed (fixed)

I've managed to get it automatically logout from KT with:

- Action/Trigger module
- Triggerunlock module

-Create an action, e.g "Logout KT", that calls KT's logout.php (you can copy the target link from the Logout link at KT)
- At the user logout trigger, choose the "Logout KT" action
- If you're running KT inside Drupal as iframe, you can hide KT's logout link by commenting out this line in ../KnowledgeTreeInstallationDir/lib/templating/kt3template.inc.php

//              $this->userMenu['logout'] = array('label' => _kt('Logout'), 'url' => $sBaseUrl.'/presentation/logout.php');