Opened 17 years ago

Last modified 13 years ago

#1175 closed Bug

ASP.NET: Changing UserFiles Directory using the Session object — at Version 1

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 (1)

comment:1 Changed 16 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
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy