E' la stessa cosa

Come tiravi fuori gli id degli user dalla session?

Non dovrebbe essere comune a tutti i .php che apre il server?