Author: Schwimms | Posted on: 11/3/2009 6:20:10 PM | Views : 438

Hi All!

I want to have a Edit Profile Link that is in my header, such as asp.net. Although I don't want it to show up unless the user is logged in. What is the code to make a link not show up unless logged in?
I gathered the following so far...

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
If User.Identity.IsAuthenticated = True Then
EditProfileLinkButton.visible = True
End If
End SubThere is an error with this code "User" is not Identified.

...

Go to the complete details ...