HttpContext.Current.User.Identity.IsAuthenticated

paul_at_domainscanners.com
Date: 10/17/05


Date: 17 Oct 2005 09:46:38 -0700

Hi,

Quick question - does HttpContext.Current.User.Identity.IsAuthenticated
perform a hit on the database if using forms authentication?

Just wondering if I should perform this once when a user logs into my
site then store in a session as to not repeatidly hit the database as
the user navigates around my site.

Thanks v much,

Paul.



Relevant Pages

  • How do I synchronise Role Based Security ?
    ... I have written a website in DotNet which uses Role-based Security ... When a user logs in, their roles are retrieved from a SQL Server ... database and an authentication ticket is created. ... the database to be picked up every time the user logs in. ...
    (microsoft.public.dotnet.faqs)
  • How do I synchronise Role Based Security ?
    ... I have written a website in DotNet which uses Role-based Security ... When a user logs in, their roles are retrieved from a SQL Server ... database and an authentication ticket is created. ... the database to be picked up every time the user logs in. ...
    (microsoft.public.dotnet.csharp.general)
  • How do I synchronise Role Based Security ?
    ... I have written a website in DotNet which uses Role-based Security ... When a user logs in, their roles are retrieved from a SQL Server ... database and an authentication ticket is created. ... the database to be picked up every time the user logs in. ...
    (microsoft.public.dotnet.security)
  • How do I keep a FormsAuthenticationTicket up to date ?
    ... I have written a website in DotNet which uses Role-based Security ... When a user logs in, their roles are retrieved from a SQL Server ... database and an authentication ticket is created. ... the database to be picked up every time the user logs in. ...
    (microsoft.public.dotnet.security)
  • How can I keep a FormsAuthenticationTicket updated ?
    ... I have written a website in DotNet which uses Role-based Security ... When a user logs in, their roles are retrieved from a SQL Server ... database and an authentication ticket is created. ... the database to be picked up every time the user logs in. ...
    (microsoft.public.dotnet.framework.aspnet.security)