Ticket #1175 (new Bug)
ASP.NET: Changing UserFiles Directory using the Session object
| Reported by: | drumminxx | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Server : ASP.Net | Version: | FCKeditor 2.4.3 |
| Keywords: | Cc: |
Description (last modified by fredck) (diff)
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
Note: See
TracTickets for help on using
tickets.