Yup definitely it can be done. but that would mean creation of another session variable. and it makes the system predictable and vulnerable since a hacker may expect that [usr_login] variable will be available as the login variable.
By default, SC security module, once used, generates these session variables:
[usr_login]
[usr_email]
[usr_name]
[usr_priv_admin]
[scriptcase] //with subarrays
[sc_session] //with subarrays
if only theres an option to have own names of the session variables when using SC security module, maybe we can have it like this:
$_SESSION[‘user’][‘login’]
$_SESSION[‘user’][‘email’]
$_SESSION[‘user’][‘name’]
$_SESSION[‘user’][‘priv_admin’]
[scriptcase] //with subarrays
[sc_session] //with subarrays
OR this:
[user] //with subarrays and values for login, email, name, etc… <=== although im not sure how to make subarrays using SC format for session variables
[scriptcase] //with subarrays
[sc_session] //with subarrays