Dan Allen
Active member
This is not a problem or malfunction, but a question about system behavior and potential impact on integration.
When connecting to XenForo from an external app, there are certain steps that blow away whatever a browser has started to collect as a response from a url that connects to XenForo. An example is this statement, which is used in index.php and admin.php:
Well, admin.php has "Admin" in the positions that say "Public" in index.php
I am sure there are others and I have not seen a case where using XenForo from a remote app does not trigger this effect. I have started making a habit of always calling to connect to XF at the start of any program that is going to be needing to work with XF. It has not been a problem so far but I am wondering what exactly is causing this behavior and whether there is a way to get work done without it happening. I can imagine scenarios where another app would do the same thing and if both that app and XF are needed by an app I am running I wonder if there is potential for irresolvable conflict, where both systems have to blow something away the other needs.
When connecting to XenForo from an external app, there are certain steps that blow away whatever a browser has started to collect as a response from a url that connects to XenForo. An example is this statement, which is used in index.php and admin.php:
Code:
$fc = new XenForo_FrontController(new XenForo_Dependencies_Public());
I am sure there are others and I have not seen a case where using XenForo from a remote app does not trigger this effect. I have started making a habit of always calling to connect to XF at the start of any program that is going to be needing to work with XF. It has not been a problem so far but I am wondering what exactly is causing this behavior and whether there is a way to get work done without it happening. I can imagine scenarios where another app would do the same thing and if both that app and XF are needed by an app I am running I wonder if there is potential for irresolvable conflict, where both systems have to blow something away the other needs.