Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By K-Jo on
Does anyone know in which $_SESSION - variable I can find the userid? (uid)
thanks
Comments
$user object
I don't know about $_SESSION, but uid can be found the user object.