QUOTE (JohnM @ Sep 21 2009, 09:40 AM)

Is there an option for adding a logout of your account button in v7. I have had many customers complaing that they cannot logout of there account when they are finished and do not want to be logged in everytime the open the browser.
Thanks,
John
Hi John,
I can help you with this as I have done something similar to this on my test site
http://www.browsermart.com. As you can see at the top it will identify you by name if you are logged in or as guest if you are not. Also, it will display the appropriate login/logout button. Here is how the first part displays the name.
CODE
Hello <ns:choose>
<ns:when condition="User.IsLoggedIn"><%User.FirstName%></ns:when>
<ns:otherwise>Guest</ns:otherwise>
</ns:choose>
And here is the code that displays the correct login/logout button.
CODE
<ns:choose>
<ns:when condition="User.IsLoggedIn"><a href="/login.aspx?logout"><img src="/images/locklogout.jpg"></a></ns:when>
<ns:otherwise><a href="login.aspx"> <img src="/images/locklogin.jpg"></a></ns:otherwise>
</ns:choose>
I hope this helps. Let me know if you have any questions. (IMG:
http://forums.networksolutions.com/style_emoticons/default/bigsmile.gif)