Dialog file explorer cache

5 posts, 0 answers
  1. Mahdi
    Mahdi avatar
    30 posts
    Member since:
    Oct 2006

    Posted 10 Feb 2014 Link to this post

    Hi
    I have permissions for accessing folders in my app. in the page I read permission and set ViewPath,UploadPath,..  to folder that users has permission for it.
    It works, but problem is in this scenario: an admin (that has permission to all folders) login and view files, after logout another user login and all files are shown to him. it seems that the file explorer caches the directory structure.
    So How can I delete this cache or solve the problem?
    Thanks
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 12 Feb 2014 Link to this post

    Hello Mahdi,

    The best way to clear the browser cache is doing that by the browser. You can follow this article, which could be helpful for such approach.

    Another option is clearing the cache via the application on the user log out. You can examine this material for more details on how to clear the cache through ASP.NET:

    If this does not help you, please get back with a simple project, that isolates the problem, so that I could reproduce it and provide a firm approach to resolve it.

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mahdi
    Mahdi avatar
    30 posts
    Member since:
    Oct 2006

    Posted 12 Feb 2014 in reply to Ianko Link to this post

    Is it enough if I remove output cache of page that using RadEditor via
    HttpResponse.RemoveOutputCacheItem("/pages/default.aspx");
  5. Mahdi
    Mahdi avatar
    30 posts
    Member since:
    Oct 2006

    Posted 15 Feb 2014 Link to this post

    Any idea?
  6. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 19 Feb 2014 Link to this post

    Hello Mahdi,

    The described problem is not reproducible on my end and I can only make assumption about a proper approach to resolve it.

    I suggest investigating if incorporating this line of code resolve the problem and test further if it leads to any side effects.

    Regards,
    Ianko
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017