This is a migrated thread and some comments may be shown as answers.

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

1 Answer 98 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Pawel
Top achievements
Rank 1
Pawel asked on 29 Sep 2010, 11:43 AM
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

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 01 Oct 2010, 01:54 PM
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
Tags
FileExplorer
Asked by
Pawel
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or