Author: dkarantonis | Posted on: 4/9/2010 1:08:49 PM | Views : 325

Hi to all,
i have an administrators page that gets a list of the users that are members of my site and i want to display their profile each time i clikc on the user name.
In order to do so, i use the following code:
public static UserProfile GetProfile(string username, bool authenticated) { return new UserProfile(System.Web.Profile.ProfileBase.Create(username, authenticated)); }

This way, the last activity date is updated and the IsUserLogedOn property is set to true, without the user actually enter the application (since it is a calculated value that depends on the last activity date). As a result, each time i click a user name to view his profile, the user seems to be loged in.
Any ideas on how to implement the same functionality without updating the last activity date?
thanks in advance

...

Go to the complete details ...