I have some basic session handling in my application. In each page I check if the user is logged in. If they are then they\'re already identified by $_SESSION[\'user_i
$_SESSION[\'user_i
Here you can see it works for me (session is started silently) : http://sandbox.phpcode.eu/g/f6b6b.php
You forgot to start your session, probably