Webcognoscere

Hi, welcome to Webcognoscere, the digital home of Eliana and Miguel Ribeiro.

I'm putting this here on my blog so that I can remember it as I tend to forget it quite easily. This is how you can check if the user on your site has been authenticated:

<%
if (HttpContext.Current.User.Identity.IsAuthenticated)
{
%>
PUT STUFF HERE THAT ONLY AUTHENTICATED USERS CAN SEE
<%
}
%>

Tags:

Meet the team

Eliana Ribeiro

Designer, Coder and Usability Fundi
View Profile

Miguel Ribeiro

Architect, Coder and Online Fundi
View Profile

Some of our work

Email Newsletters, Email Marketing, Web Design, Web Development Solution Architecture, Software Development, User Experience, Usability, Search Engine Optimization, Search Engine Marketing

Html, Xhtml, Html 5, CSS, jQuery, JavaScript, ASP.NET MVC, C#.NET, Web Services, ASP.NET (1-4), AJAX, ASP.NET AJAX, Transact-SQL

View more