User identity, access SESSION in php

I am talking about something similar…

Am I wrong?