So is this syntax essential? Perhaps that is my issue.
I would normally write this as (which seems to throw errors:
<?php echo $_SESSION['fname']." ".$_SESSION['lname']; ?>
and Web Assist seems to prefer:
<?php echo($_SESSION['fname']." ".$_SESSION['lname']) ?> (Note no ending semi-colon)