I was using Membership.getUser() to get the currently logged in user but I recently discovered that each time this it called, the data is retrieved from the database.
If page.user also makes a call to the db then how can I get the currently logged on user without continuously hitting the db.
It would be difficult to store and manage this object in session.
Page.Userwill not hit the DB.You can get the name of the currently logged in user from
HttpContextwithout hitting the DB.OR