how can I make in view:
if person is loged on show this person log off link
It is for admins because I deleted from view:
<div id="logindisplay">
<% Html.RenderPartial("LogOnUserControl"); %>
</div>
Because normal people shouldn't see log in link. Admins go on site: /account/logon (they must write in browser this url) and after successfull login they should see log off link - how can I make this log off link if person is loged on in view ?
...
Go to the complete details ...