I'm looking for a way to pass the Roundcube session to an external php file so that this PHP file can access certain variables set by Roundcube. Unfortunately, the PHP file doesn't seem to have access to the RC session. How can I pass variables to another PHP file without using JavaScript and without using GET/POST, so that Roundcube can use variables?
Personally, i think passing variables like the username via JavaScript or GET/Post methods are very insecure, so i didn't want to use this way.