check if user is logged in in user control Asp.net MVC
Posted
by Yassir
on Stack Overflow
See other posts from Stack Overflow
or by Yassir
Published on 2009-08-26T02:58:18Z
Indexed on
2010/04/14
11:33 UTC
Read the original article
Hit count: 276
asp.net-mvc
|usercontrols
how can i check if a user is logged in in user control with asp.net mvc
usually on a view page i use this
<% if (User.Identity.IsAuthenticated) {%>
//Do something
<% } %>
but i can't get this done on a user control
© Stack Overflow or respective owner