Caching can cause issues when changes are made and previous rules or settings are still applying.  This is because although the change has occurred within the settings for MODX, the older version of a web page has been saved in cache so that the page could be loaded quicker.  To reset this there are a few options provided by MODX.  The first option available is the Clear Cache option under the Site menu.  The following article discusses the other options clear memory in MODX- flushing the sessions and permissions using the MODX Administrator interface.

 

Using the Flush Permissions and Sessions Option in MODX

How to Flush Permissions

Flushing permissions will simply clear permissions for a person or section of the MODX website based on specific user login.  This will clear the cache and any previously saved permissions for that page.

  1. Login to the MODX Administrator Dashboard.
  2. Flush permissions menuHover over the menu bar where it is labeled SECURITY.  Scroll down the drop-down menu and click where it shows FLUSH PERMISSIONS
  3. You will see a confirmation screen.  Click on YES in order to complete the flush and reload the cache.
    Confirmation dialog for flushing permissions

    Note that clearing a the permissions does not clear other user sessions if they are logged into MODX at the same time.  For example, if an administrator is changing the permissions for a web page or user, the administrator may want to login as that user and then flush the permissions in order to make sure that the user is seeing what they are supposed to be seeing according to the assigned permissions.


How to Flush All Sessions

Flushing all of the sessions clears the cache for all users.  Additionally, all users who are logged into the application will be logged out and must login before being able to access the website.

  1. Login to the MODX Administrator Dashboard.
  2. Flush sessions menu itemHover over the menu where you see the word SECURITY.  Scroll down the drop-down menu that will appear and click on FLUSH ALL SESSIONS at the bottom of the menu.
  3. There will be a confirmation window.  Click on YES in order to complete the flush.  Remember that this action will log off all users who are currently logged into your MODX website.
    flush-sessions-confirm

    Clearing ALL sessions allows you to change permissions for groups of users, then forcing them off of the website so that they see the changes to their permissions when they log back into the website.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}