Roundcube Community Forum

Recycle Bin => Recycle Bin => Topic started by: surfsurf on February 08, 2007, 04:32:55 PM

Title: Launch another app from Roundcube with the same user/pass
Post by: surfsurf on February 08, 2007, 04:32:55 PM
Hi all, I added a button after the logout button on the task panel. When clicking this button it will launch a web-based jabber client, but I need to find a way to get the username and pass from the PHP SESSION and pass them in the jabber client url. But how do I get those values from the session? I can't find a way :(
Title: Re: Launch another app from Roundcube with the same user/pass
Post by: bugler on February 09, 2007, 04:14:51 AM
Hi,

username is in $_SESSION['username']
password can be obtain by: decrypt_passwd($_SESSION['password'])

Hope this heps.