Folder delete, move, rename causes Session end and long refresh

2 posts, 0 answers
  1. Pawel
    Pawel avatar
    5 posts
    Member since:
    Jan 2008

    Posted 29 Sep 2010 Link to this post

    Hi.
    I have RadFileExplorer on RadTabStrip/RadMultiPage.
    I can upload files, create folders, move files between folders and delete files, but when I try to delete folder, rename it or move it, a Session is ended (I see it in Global.asax file having debugger breakpoint on Session_End event) and a refresh of the grid on RadFileExplorer work constantly.
    I have only ViewPaths, UploadPaths, DeletePaths set, and that's all in my file explorer configuration.
    Could you pleade advice me how to solve such problem?
    Greetings:
    Pawel
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 01 Oct 2010 Link to this post

    Hello Pawel,

    The issue you experienced is a feature of ASP.NET - deleting a sub-folder in the application directory will trigger a restart of the web application. If your session is stored in the application memory, it will be erased. This is not connected with the RadFileExplorer control - the same behavior will occur if you delete the folder from windows explorer. Here are some useful links on the matter:

    http://blogs.msdn.com/toddca/archive/2005/12/01/499144.aspx
    http://weblogs.asp.net/owscott/archive/2006/02/21/438678.aspx

    One possible solution we can recommend is to move your session data to a state server or a SQL server. This way it will not be lost when the AppDomain is restarted.

    Sincerely yours,
    Fiko
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top