Opened 12 years ago

Closed 8 years ago

#1175 closed Bug (expired)

ASP.NET: Changing UserFiles Directory using the Session object

Reported by: Steve Williams Owned by:
Priority: Normal Milestone:
Component: Server : ASP.Net Version: FCKeditor 2.4.3
Keywords: Cc:

Description (last modified by Frederico Caldeira Knabben)

The documentation for the .NET installation states that you can define the browsing directory by setting Session["FCKeditor:UserFilesPath"] in the Page_Init and it does not work, however after reviewing the source code I found that the Application object does work. Could the documentation be corrected or this issue resolved. Thanks.

this does NOT work

protected void Page_Init(object sender, EventArgs e)
{
    Session["FCKeditor:UserFilesPath"] = "~/testdir";
}

This does work

protected void Page_Init(object sender, EventArgs e)
{
    Application["FCKeditor:UserFilesPath"] = "~/testdir";
}

IE7, WinXP Pro, .NET 2.0

Change History (2)

comment:1 Changed 11 years ago by Frederico Caldeira Knabben

Description: modified (diff)
Summary: ASP.NET - changing UserFiles Directory using the Session objectASP.NET: Changing UserFiles Directory using the Session object

comment:2 Changed 8 years ago by Wiktor Walc

Resolution: expired
Status: newclosed

There is a new ASP.NET control available: CKEditor for ASP.NET. The issue is no longer valid as the new control does not have the built-in file browser and the old one is no longer maintained.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy