Force user to delete their browser cache?

Hi, When adding new features to an Aras instance, it is sometimes necessary for users to clear their browser cache. What is the best way to force users to delete their browser cache? I don´t think it´s technically possible to do this automatically, is it? How do other users deal with it? Are their any best practice tips (except sending a notification message)? Thanks!!
Parents
  • Hi Angela, Typically, the URL should re-point to the most recent salt value if you try to navigate to a url with an older salt directly. If this isn't happening, you can also try to follow the steps below to change a salt value in the database.
    1. Login as admin
    2. Navigate to Administration > Variables
    3. Search for the "Aras.MetadataService.Salt" Variable
    4. Increment this value by 1 whenever you want to push a change to your clients
      • e.g. 0 > 1 > 2 > 3 > etc.
      • Similar to the value in the web.config, you should use whole numbers without '.' or '-'
    5. Save, Unlock, and Close this Variable
    Incrementing this variable should force the cache to reload the next time your end users login. Chris ______________________________ Christopher Gillis Aras Labs Software Engineer  
  • Hello, Chris,

    With the information you presented here could I modify the Item Type > Method to add an "OnAfterSave" event that pointed to a Method that works as an auto-increment of this value? Also, would it make sense to only do this if the method you've added or modified were JS/Client-side?

    If you wouldn't mind could I get a sample of how to get at that variable inside a C#, Server Side method? I'm going to try right now. Will post if I get it figured out.

    Thanks,

    Neil

Reply
  • Hello, Chris,

    With the information you presented here could I modify the Item Type > Method to add an "OnAfterSave" event that pointed to a Method that works as an auto-increment of this value? Also, would it make sense to only do this if the method you've added or modified were JS/Client-side?

    If you wouldn't mind could I get a sample of how to get at that variable inside a C#, Server Side method? I'm going to try right now. Will post if I get it figured out.

    Thanks,

    Neil

Children
No Data