Let me see if I understand what you mean. In the past I would have just put the following in my header file.
$stat = mysql_fetch_array(mysql_query("select * from members where user='$user' and pass='$pass'"));
The session would of kept that alive and then when I wanted to show someones user name I would of just put $stat[user]. But now I have to use session variables. Is that correct?