u have to start the session first then check with $_SESSION['tu']; >===== Original Message From Pag <[EMAIL PROTECTED]> ===== > HI, > > Am trying to give controlled access to who logs in to my site. Have a >quick doubt: > > I register a session var named $tu (value is taken from the DB) when a >user logs in, how can i reference to that var? I mean, if i want to check >its value, if i do print($tu);, it doesnt seem to work. > Thanks. > > Pag > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php