Changes between Initial Version and Version 1 of Ticket #1175


Ignore:
Timestamp:
Oct 2, 2008, 7:16:48 AM (12 years ago)
Author:
Frederico Caldeira Knabben
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1175

    • Property Summary changed from ASP.NET - changing UserFiles Directory using the Session object to ASP.NET: Changing UserFiles Directory using the Session object
  • 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.
     1The 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.
    22
    33this does NOT work
    4     protected void Page_Init(object sender, EventArgs e)
    5     {
    6         Session["FCKeditor:UserFilesPath"] = "~/testdir";
    7     }
     4
     5{{{
     6protected void Page_Init(object sender, EventArgs e)
     7{
     8    Session["FCKeditor:UserFilesPath"] = "~/testdir";
     9}
     10
     11}}}
    812
    913This does work
    10     protected void Page_Init(object sender, EventArgs e)
    11     {
    12         Application["FCKeditor:UserFilesPath"] = "~/testdir";
    13     }
     14
     15{{{
     16protected void Page_Init(object sender, EventArgs e)
     17{
     18    Application["FCKeditor:UserFilesPath"] = "~/testdir";
     19}
     20}}}
    1421
    1522IE7, WinXP Pro, .NET 2.0
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy