DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Administering Locked Out Users and dealing with Caching Timeouts

Sort:
You are not authorized to post a reply.





New Around Here





    I administer a site that has around 40k users.  Many users forget their passwords, as they only log in around 3 time per year, and end up locking themselves out due to incorrect password attempts.  They will immediately call to have their passwords reset/unlocked.  However, it will take a while (many minutes) for the user page (on the admin side) to show that the user is locked out.  During that time our admins cannot unlock the user as it does not appear as an option on the admin menu.

    Upon digging into the code for getting the Users from the ASP.NET membership provider, it appears there is caching mechanism in the "GetUserById" method on the UserController class.  Is there a way to disable the User Caching and have it always look up the full user via the MembershipProvider?

    Full Disclosure:
    We are running DNN 9.2.2, however, the code of UserController.cs appears to be functionally the same between new versions and 9.2.2. 

    Thanks,
    ~Joe






    Veteran Member





      Joe,

      I don't think that there is a setting to turn off caching at this point, but what you can do (as a host user, or when you have access to the web server) is clearing the cache (Settings >> Server, button top right) or restarting/recycling the application pool.

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Connect





      Veteran Member





        there is no option to disable caching selectively for single objects.
        You may only switch to a lower caching level in DNN performance settings, which will reduce caching duration. Don't set caching to None - or your site will become REALLY slow.
        You are not authorized to post a reply.

        These Forums are dedicated to the discussion of DNN Platform.

        For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

        1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
        2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
        3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
        4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
        5. No Flaming or Trolling.
        6. No Profanity, Racism, or Prejudice.
        7. Site Moderators have the final word on approving / removing a thread or post or comment.
        8. English language posting only, please.

        Would you like to help us?

        Awesome! Simply post in the forums using the link below and we'll get you started.

        Get Involved