1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Caching of User Profile Information?

Caching of User Profile Information?

4 posts, 0 answered
  1. Adam
    Adam avatar
    16 posts
    Registered:
    29 Nov 2011
    29 Dec 2011
    Link to this post
    Hello,

    I am experiencing some puzzling behavior. I recently created a copy of my Sitefinity database for testing purposes. I pointed my application at the test database, and to ensure that the new copy was being used, I attempted to change the first and last name of my user profile.

    This is the point where the confusion begins. I changed the first and last name, and clicked "Save". The Sitefinity dashboard shows the new values, and everything looks right. However, when I check the profile in the database, the old first and last name are still present. I also checked the original database, to ensure that I was not using the wrong instance. Nothing changed in that database either. Even after 10 minutes, the change did not persist to the database. I have tried everything I can find regarding turning off caching, but it does not have any effect.

    Furthermore, when I restarted to app pool, the changes were lost and the values reverted to match the database.

    Where is this caching taking place, and how can it be "flushed"?
  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    03 Jan 2012
    Link to this post
    Hi Adam,

    I tried your scenario and all changes I made through the UI reflected the copy of my initial database. I want to be sure that you've checked for the first and last name fields in the right table of the database, since many customers think that they are located in sf_users when they're actually in sf_sitefinity_profile. Is this the table that you looked up?

    Kind regards,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Adam
    Adam avatar
    16 posts
    Registered:
    29 Nov 2011
    03 Jan 2012
    Link to this post
    I see. Yes, the changes are persisted in sf_sitefinity_profile. Can I ask what the purpose of the names in sf_users is?
  4. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    04 Jan 2012
    Link to this post
    Hi Adam,

    First and last name fields in sf_users had the same purpose as the ones in sf_sitefinity_profile, but are now obsolete.

    Regards,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered