Changes between Initial Version and Version 1 of Ticket #1175
- Timestamp:
- Oct 2, 2008, 7:16:48 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1175
-
Property
Summary
changed from
ASP.NET - changing UserFiles Directory using the Session object
toASP.NET: Changing UserFiles Directory using the Session object
-
Property
Summary
changed from
-
Ticket #1175 – Description
initial v1 1 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.1 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. 2 2 3 3 this does NOT work 4 protected void Page_Init(object sender, EventArgs e) 5 { 6 Session["FCKeditor:UserFilesPath"] = "~/testdir"; 7 } 4 5 {{{ 6 protected void Page_Init(object sender, EventArgs e) 7 { 8 Session["FCKeditor:UserFilesPath"] = "~/testdir"; 9 } 10 11 }}} 8 12 9 13 This does work 10 protected void Page_Init(object sender, EventArgs e) 11 { 12 Application["FCKeditor:UserFilesPath"] = "~/testdir"; 13 } 14 15 {{{ 16 protected void Page_Init(object sender, EventArgs e) 17 { 18 Application["FCKeditor:UserFilesPath"] = "~/testdir"; 19 } 20 }}} 14 21 15 22 IE7, WinXP Pro, .NET 2.0