I have OTRS inside an iFrame portlet into Liferay, and our customer needs to logout from OTRS and other system we use when the user logs out from Liferay.
I tried it in several ways, first of them just to create a Http connection with the normal logout URL like this:
Code: Select all
http://Server_ip/otrs/index.pl?Action=Logout
Then I tried it directly with javascript with xmlhttprequest so that we could have the cookie with the session, but many cross-site errors were given trying that.
All of that was made without my knowledge about the SysConfig -> Session in OTRS configuration, but after trying again the different methods modyfing the OTRS config, I was not able to achieve the goal.
Is there a real good way of logging out the users from OTRS by using the Action=Logout URL from another system, or with Javascript? Is there a combination of the OTRS configuration that allows us to really logout the users without using the logout button directly?
Any help will be really really appreciated.
Thanks a lot in advance.
Rafa