Once a user has logged in, is it possible to replace the "register/sign up" link with “Welcome [Customer first name]” – and on clicking their name it takes the user to their account page?
At the moment I have the following in place.
In that register div, if the user is logged in, I would like it to say "Welcome [first name of logged in user]" and clicking their name takes them to their account (account.aspx). If they are not logged in it stays as the above, "Register" with the link to createaccount.aspx?checkout=False.Code:<div> <a href='<asp:Literal ID="Literal1" runat="server" Text="<%$ Tokens:SignInOut_Link %>" />' class="login"> <asp:Literal ID="ltrSignInOutText" runat="server" Text='<%$ Tokens:SignInOut_Text %>' /> </a> </div> <div style="float: right"> <a href="createaccount.aspx?checkout=False" class="register"> Register </a> </div>
How can I go about it?
Thank you.