Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best place to add logged in user code?
Message
De
04/07/2010 16:58:07
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Best place to add logged in user code?
Versions des environnements
Environment:
C# 4.0
Divers
Thread ID:
01471365
Message ID:
01471365
Vues:
110
A continuation of the my user ID question. I am thinking about saving the UserID to a session variable if there is a valid user id and the session variable is empty. This would minimize my database hits. The web page I am working on has a master page with the header and login controls setup. Seems to me that if I always include that master page in my web pages then that would be the best place to put this code to make sure it runs on every hit. Is there a better place?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform