Hey all,
I want to integrate a web application for booking meeting rooms (MRBS, http://mrbs.sourceforge.net ) as an external site in my Nextcloud 11. The MRBS is installed in the same web directory as Nextcloud on hosted webspace.
To solve the authentication issue, I need to pass a session variable to the iFrame. In the External-Sites-App, I have added the following code above the iframe tag in frame.php:
$session = \OC::$server->getSession();
$session->set(āUserNameā, ātestuserā);
In the destination frame, I try to get the session variables with:
header(āP3P: CP=āCAO PSA OURāā);
session_start();
echo print_r($_SESSION, TRUE);
Unfortunately, the result ist an empty array. Could anyone help me to get the session vars?