$_Session for groups table?

juergen_mueller

DaDaBIK Guru
Hi

Is it possible to use a session variable for the groups table looking like this example

$_SESSION['logged_group_infos_ar']["name_group"] ?

Best

Juergen
 

eugenio

Administrator
Staff member
Hello Juergen,
you don't have such a variable set, but you have:
$_SESSION['logged_user_infos_ar']['id_group']
which you can use to get the name of the group.

Best,
 

juergen_mueller

DaDaBIK Guru
Hi Eugenio

Thanks for the reply.

I used a work around to get the name of the group (which is not stored in the user table) of the logged in user by setting a custom_startup_function - I like this function very much!

Best

Juergen
 
Top