Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best place to add logged in user code?
Message
From
04/07/2010 16:58:07
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Best place to add logged in user code?
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01471365
Message ID:
01471365
Views:
111
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.
Next
Reply
Map
View

Click here to load this message in the networking platform