Hi Neil,
Thanks for your suggestion!
The code within index.php can also be executed at a later time, such as when an iframe is loaded. Therefore, it would be prudent to conditionally set the URL_PARAMS only if they have not been defined already. Failing to do so could lead to potential difficulties in retrieving them later.
Code: Select all
$URLParams = $_GET;
unset($URLParams['p']);
if (!isset($_SESSION['nubuilder_session_data']['URL_PARAMS'])) {
$_SESSION['nubuilder_session_data']['URL_PARAMS'] = $URLParams;
}
The parameters can be retrieved with nuGetURLParams(). Update is on Github, please test.