Does anyone know in which $_SESSION - variable I can find the userid? (uid)

thanks

Comments

pz’s picture

I don't know about $_SESSION, but uid can be found the user object.

global $user;

$user->uid;