How to Add a Members Name to a Page

Tutorial

On a member's only section of your site, you can include the following code to insert the member's first name & last name:

<cfoutput>#Request.Session.FirstName#</cfoutput>

 

&

<cfoutput>#Request.Session.FirstName# #Request.Session.LastName#</cfoutput>

 


So for example, if you wanted to put in "Welcome back (member's name)!" in your member portal, you would "Edit Member Portal" and enter:

Welcome back <cfoutput>#Request.Session.FirstName#</cfoutput>!

 

Welcome back !