General information
Title:
Best place to add logged in user code?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only