ok, heres the code i have at the top of my login processing page...
<?
session_start();
session_register("fullname_session");
?>
i then give fullname a value a bit later on doing this...
$fullname_session=odbc_result($rstemp_query,"name");
then i redirec to the next page, the one i want to dispplay the name on. at the top of this page...
<?
session_start();
session_register("fullname_session");
?>
and to retrieve that value i do...
<? echo $fullname_session; ?>
i checked to see if it was storing the previous name when you login again, but it doesnt, it displays the corect name of the different user.
🙂