Hi,
Im trying to use multidimensional session variable in scriptcase log module but it seems that it only accept the scriptcase global variable format.
This is my sample multidimensional session variable:
$_SESSION[‘me’] = array();
$_SESSION[‘me’][‘id’] = ‘1’;
$_SESSION[‘me’][‘login’] = ‘demo’; //contains login variable
$_SESSION[‘me’][‘name’] = ‘name me’;
$_SESSION[‘me’][‘gender’] = ‘m’;
$_SESSION[‘me’][‘address’][‘region’] = ‘region’;
$_SESSION[‘me’][‘address’][‘province’] = ‘province’;
$_SESSION[‘me’][‘address’][‘city’] = ‘city’;
Im trying to replace - [usr_login] - and use this instead - $_SESSION[‘me’][‘login’] - in the log module but it returns error.
I think if scriptcase uses multidimensional session variables in SC_SESSION and SCRIPTCASE variables. Then multidimensional session variables should also be used in the development and production if possible.
[ATTACH=JSON]{“data-align”:“none”,“data-size”:“medium”,“data-attachmentid”:86475}[/ATTACH][ATTACH=JSON]{“data-align”:“none”,“data-size”:“medium”,“data-attachmentid”:86476}[/ATTACH]